Hello,

I have some troubles with a PNG image, that is not correctly rendered by  
context (too small). The difference I've found with another correctly  
displayed image is that the file does not contain any resolution unit (but  
a pixels/inch default seems reasonable).

Is there a workaround or specific setup to make this work (without  
explicit width setting)?

Here is the test file I use. If you wish I can send the images, or find  
the troublesome PNG image at:  
http://svnbook.red-bean.com/trac/browser/trunk/src/en/book/images/ch01dia1.png?format=raw

Thanks for your help.

\starttext

\startyping
identify -verbose images/ch02dia1.png
images/ch02dia1.png PNG 146x168 146x168+0+0 PseudoClass 135c 2kb 0.008u  
0:01
Image: images/ch02dia1.png
   Format: PNG (Portable Network Graphics)
   Geometry: 146x168
   Resolution: 28.34x28.34
   Units: PixelsPerCentimeter
\stoptyping

\externalfigure[images/ch02dia1.png]

\startyping
identify -verbose images/ch01dia1.png
images/ch01dia1.png PNG 511x585 511x585+0+0 DirectClass 54kb 0.094u 0:01
Image: images/ch01dia1.png
   Format: PNG (Portable Network Graphics)
   Geometry: 511x585
   Resolution: 72x72
   Units: Undefined
\stoptyping

\externalfigure[images/ch01dia1.png]

\stoptext

Regards,
BG
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to