Re: [Gimp-docs] image resolution in pdf/html files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Marco,

Am 09.01.2006 um 19:01 schrieb Marco Ciampa:

First of all: I'm not an expert...be gentle!

we do - as we do always - don't we :)


I've just noted that the 4 images present in images/using/ui-* are
horribly scaled. A quick view at the english-pdf file showed me the
reason since I tryed to create the same snapshots for the italian
version and endedup with a pdf file with the images going outside the a4
margins. So the question is:

No images are scaled for the pdf production recently. What I (we) did was to set a different print *resolution* which always is "pixel per something". So no pixel at all was harmed by this action !!


 - why not leaving the 1by1 pixel in the image?
is it not possible to use a tag (for example) to tell the latex that that image must be scaled (for example by 1/2 or 1/3) for the printable version? In this manner the html pages _and_ the pdf pages would be better
   looking!

Setting the print resolution means to define a real size for the image in tex (pdf) without changing anything in the html output. Sure one could also double each figure in the docbook and define one to be used in html and on in tex (pdf), but this is very messy and puts some kind of stylesheet into the xml. The whole idea of docbook is to *separate* content and style, so its obviously not a good idea to do the scaling in the xml files.


 - from the starting point that there are very important reasons not
   easily circunventeable to do in such manner, what are the
rule of thumb for creating an image good for both the html _and_ the
   pdf versions?
   Limits in pixel?
   Valid either for A4 than Letter?
   Or for now it is best to simply do a try-compile-view cycle?
The "Hints for making good screenshots" in the "TipsForContributing"
   do not mention this problem and I think that, whatever you experts
   decide, it is worth to ad a note..

Just do the figures as you did them in the past. Screenshots go 1:1 into the html. There is a rule of thumb, that for the html the width should not exceed 600px (IIRC). Additionally set the print resolution to 144dpi and you are done. The only exception is if you have examples that are very tiny (as most of the wilber examples are) or you have some very tiny screen snippets (as some details from a dialog window for example) - for them just leave the print resolution unchanged (72dpi). When the tex (pdf) version of the manual is produced, we'll have a critical view to image sizes anyway so if there are further changes needed they can be done afterwards.

Hope that brought some light to the issue...

lexA


Many thanks for the patience!

--

Marco Ciampa

+--------------------+
| Linux User  #78271 |
| FSFE fellow   #364 |
+--------------------+
_______________________________________________
Gimp-docs mailing list
Gimp-docs@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-docs


---
Live is like a chocolate box, you never know what you wanna get...
GPG Signatur auf http://wernicke-online.net/Impressum/ prüfen

Attachment: PGP.sig
Description: Signierter Teil der Nachricht

_______________________________________________
Gimp-docs mailing list
Gimp-docs@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-docs

[Index of Archives]     [Video For Linux]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [Scanners]     [GEGL]     [Gimp's Home]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux