On 13.07.09 Anthony DeRobertis (anthony@derobert.net) wrote: Hi Anthony, Long response time, I know. > Package: texlive-base-bin > Version: 2007.dfsg.2-6 > Severity: normal > File: /usr/bin/ebb > > When you run ebb, it always assumes 100ppi in computing the bouding box. > This is a compile-time setting, the PIX2PT macro in the source: > > #define PIX2PT (72.0/100.0) > void do_jpeg (FILE *file, char *filename) > { > ... > > It'd be nice if it (a) took a command line argument to specify the ppi > and (b) used the ppi information in the bitmap image file, if present > (e.g., PNG can) > The current manual page reads: OUTPUT FORMATS Here are more details about the bb and xbb formats: The original ebb (from dvipdfm) ignored density information in bitmap images, and generated bounding boxes with 100px = 72bp = 1in. Unfortu‐ nately, screenshots (especially) tend to look bad with this approach. So, extractbb (from dvipdfmx) uses density information if present. Otherwise, it generates bounding box with 100px = 100bp. This is what pdfTeX does. Is this OK or you? Can we close the issue? Hilmar
Attachment:
signature.asc
Description: PGP signature