Re: Reading JPEG image compression type

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hi all,
May be a little more explanation is needed here: When reading TIFF, then
the propertyItems will have IDs defined based on the TIFF Standard
definition. Based on the TIFF specs, when ID is 259, the values
represent the type of compression. The compression values can be
CCITTFAX3, CCITTFAX4, No Compression, and so on (the compression can
even be JPG). However, i am reading a file with a JPG extension. This
is different than a JPG within a TIFF.
When reading a file with JPG extension, i need to know the IDs and
structure defined so that i can appropriately map the data into the
structure and find out the properties of the image. What i am interested
in is the compression type. With JPG there are two main categories,
Huffman and arithmetic encoding compression types. Please clarify if
your answers i did not understand. This can be best answered by the
Microsoft developer that wrote the Image object and all its classes.
thank you,
Mars

*** Sent via Developersdex http://www.developersdex.com ***
.



Relevant Pages

  • Re: TIFF-files
    ... Does the compression in TIFF degrade the same way as the JPG? ... Mac or Win Byte order doesn't matter at all unless you are using certain ...
    (alt.graphics.photoshop)
  • Re: What is the best format to photograph in?
    ... If you're not a professional photographer, ... pretty well forget about TIFF format. ... Using .jpg format will cure your space ... compression method, the information cannot ...
    (microsoft.public.windowsxp.photos)
  • Re: How much should I compress Jpegs?
    ... Rather than scan to tiff and then to convert to jpg, ... I set the compression to 15% and cannot tell the difference between the tiff ... resaving a JPG the quality can go downhill. ...
    (alt.photography)
  • Re: What is RAW?
    ... screen filled with small squares from few big squares (or seeing small ... compression applied and one that has not. ... I save a flattened tiff or the final for print ... export jpg from the psd or tiff using save for web ...
    (alt.graphics.photoshop)
  • Re: .tif high res save?
    ... You can add a hi-res tiff (and/or jpg) option that you can use from ... Install Ghostscript. ... Install a "Local Printer" but do NOT let Windows detect ...
    (microsoft.public.publisher)