[xep-support] "invalid unit type" im images

Nikolai Grigoriev grig at renderx.com
Thu Dec 11 04:28:42 PST 2003


Thomas,

> sometimes i get the error "invalid unit type in ..." while 
> processing images.  what does this mean? 

This message may appear when parsing PNG, TIFF, or JPEG images.
These formats can store data about image resolution. Length units
to which the resolution is relative are stored in a separate field
inside the file; there is a closed list of permitted values for this
field (different for each format). Whenever XEP encounters a value 
that is not in the respective list, it complains.

Which application do you use to produce images that give you 
these errors?

> when i open the image in photoshop an save it without changing 
> anything then the image works correctly... 

Most probably, Photoshop inserts a correct default value into 
the respective field. 

Best regards,
Nikolai Grigoriev
RenderX

-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo at renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html



More information about the Xep-support mailing list