View Single Post
Old 06-09-2013, 03:12 AM   #229
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 2,608
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
Bonjour

"Vies imaginaires" de Marcel Schwob. Édition illustrée.

Vous trouverez ici l'édition EPUB

et là, l'édition PDF aux formats 9x12cm et 9.7 pouces.

Elles ont été réalisées dans les conditions habituelles (writer2xhtml, OpenOffice et Sigil).

Traitement des images.

Les images source (tirées d'un scan) sont souvent des images pleine page à haute résolution. Je commence à les retailler par lot, en m'assurant qu'aucune ne dépassera 600 pixels en largeur ou 800 pixels en hauteur.

J'utilise le script bash (Linux) ci-après qui crée, avec un clic droit, à côté des images originales un nouveau fichier contenant les images réduites. Si vous souhaitez un format ou une résolution différente, il convient de modifier le nom du format ou la valeur 600x800 inscrite dans le script.

Il existe sur Windows de nombreux programmes offrant également cette fonctionnalité.

Spoiler:

#!/bin/bash


mkdir reduced
for FILE in *.jpg


do
convert "$FILE" -resize 600x800\> reduced/"$FILE"
done

echo "Terminé"
zenity --info --text "Terminé"

exit 0;

Last edited by roger64; 06-10-2013 at 10:20 AM.
roger64 is offline   Reply With Quote