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

From: Nikolai Grigoriev (grig@renderx.com)
Date: Thu Dec 11 2003 - 04:28:42 PST

  • Next message: Thomas.Braun@infowerk.de: "Antwort: Re: [xep-support] "invalid unit type" im images"

    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@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



    This archive was generated by hypermail 2.1.5 : Thu Dec 11 2003 - 04:32:49 PST