Skip to content

Instantly share code, notes, and snippets.

@kpym
kpym / uu-logo-en.svg
Last active October 15, 2021 14:24
uu.nl logo
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kpym
kpym / nwo.svg
Created October 15, 2021 14:14
Dutch Research Council logo
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kpym
kpym / mexico70.svg
Created June 20, 2021 15:42
The logo of the IX football world championship (Mexico 1970)
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kpym
kpym / i-site-ob.svg
Last active June 16, 2021 10:23
Logo I-SITE Université Lille Nord-Europe
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kpym
kpym / investir-avenir.svg
Created June 15, 2021 10:58
Logo Investir Investir l'avenir
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kpym
kpym / amies.svg
Last active June 15, 2021 11:19
Le logo d'AMIES (optimisé en SVG)
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kpym
kpym / ANR.svg
Created February 22, 2021 16:38
Le logo de ANR (optimisé en svg)
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kpym
kpym / README.md
Last active February 1, 2021 18:09
Convert PDF to black and white CCITT Groupe 4 one. Use ImageMagisk and bbe or sed (if available).

Description

This script needs the following tools :

  • ImageMagick, convert (Mac/Linux) or magick (Windows), to convert all .png pages to black and white and compress them with CCITT Groupe 4 compression.
  • Use bbe or sed (if present) to add interpolation option to all CCITT streams. This makes the pages more pleasing to the eye (less "pixelated").

Usage

> ./pdf2bw.sh
@kpym
kpym / ULCO-LMPA-logo.svg
Created September 30, 2019 16:52
Le logo du laboratoire de mathématiques LMPA en SVG
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.