Re: 48 bit TIFF images with libtiff?

From: Spam Fighter (spamcollector_at_sympatico.ca)
Date: 03/13/05

  • Next message: Johan Lundgen: "Image similarity search function needed for large photo website"
    Date: Sun, 13 Mar 2005 15:16:39 -0500
    
    

    On Sat, 12 Mar 2005 18:32:13 +0000, Nicola Montecchiari wrote:

    > Dear All,
    >
    > can anyone tell me if it's at all possible to work with a 48bit TIFF
    > image using the libtiff library. It doesn't seem so, at least not
    > easily, the main problem is that I can't find the way the 48bit images
    > are saved in a tiff file.
    >
    > thanks in advance
    >
    > Regards
    > Nicola

    Exactly the same way 24 bit images are saved only here sixteen bits each
    of red, green and blue instead of eight bits each of red, green and blue.

    Take look at the sample programs that come with libtiff. There is some
    skeleton code that saves a file. You will see where they inform libtiff
    the data is eight bits per color component. Change that line of code to
    sixteen from eight and pass sixteen bit data when outputting a row of
    data. That is all there is to it. Easy eh???


  • Next message: Johan Lundgen: "Image similarity search function needed for large photo website"

    Relevant Pages

    • Re: Scanner advice
      ... It's not necessarily that changing from tiff to pdf increases your ... upon the threshold you setup, automatically OCR the images, properly ... The ScanSnap is not a twain or isis compliant scanner so that's the one ...
      (comp.periphs.scanners)
    • Re: TIFF Creation Issues...
      ... multipage tiff. ... the new images are rotated 90 degrees and occupies only ... Dim bm As Bitmap = CType, ...
      (microsoft.public.dotnet.framework.drawing)
    • Re: How to read TIFF images that are MM (big endian) format
      ... style tiff images. ... The images I was given are MM. ... % The Error message: ... The first IFD can't possibly be located at file offset 0, because that's the beginning of the file where the TIFF header is. ...
      (comp.soft-sys.matlab)
    • Re: How to read TIFF images that are MM (big endian) format
      ... style tiff images. ... The images I was given are MM. ... directory (IFD). ... modeling package. ...
      (comp.soft-sys.matlab)
    • iDEFENSE Security Advisory 12.21.04: libtiff Directory Entry Count Integer Overflow Vulnerability
      ... libtiff Directory Entry Count Integer Overflow Vulnerability ... This software provides support for the Tag Image File Format (TIFF), ... Remote exploitation of a heap-based buffer overflow vulnerability ... user-supplied data when calculating the size of a directory entry. ...
      (Bugtraq)