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

From: Nikolai Grigoriev (
Date: Thu Dec 11 2003 - 04:28:42 PST

  • Next message: "Antwort: Re: [xep-support] "invalid unit type" im images"


    > 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

    (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
    in the body of the message to from the address
    you are subscribed from.
    (*) By using the Service, you expressly agree to these Terms of Service

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