Re: How to create a TIFF image from a binary raw data



On Oct 19, 8:40 pm, "Jeff Higgins" <oohigg...@xxxxxxxxx> wrote:
Your question is not clear to me.
Several interpretations that I can come up with:

1. You wish to construct a java.awt.Image from a TIFF file, or
from an array of bytes which represent the contents of a valid
TIFF file.

Thanks a lot for your response. I need to create a TIFF image from a
binary array known consisting of a valid TIFF file.

Please run the following small program, if it does not output
something like tif, tiff, TIF, or TIFF, you probably cannot
use java.imageio.ImageIO.read.

I ran your program and it worked well with TIFF image file! It still
doesn't work for my binary raw data array though. I got this byte
array from a X9 file, which is in ASCII format. The image data of
this x9 file consists of 8 bytes of Image header and the rest are
Raster data.

.



Relevant Pages

  • Fax Tiff format
    ... I am trying to create a tiff file for submission to MS Fax Server in a format that the server will accept without re-formatting it. ... Speed is very important for our application, so I need to find a way to create a tiff file that MS Fax server will accept without re-formatting it. ...
    (microsoft.public.windowsxp.print_fax)
  • MS Fax Tiff format
    ... I am trying to create a tiff file for submission to MS Fax Server in a format that the server will accept without re-formatting it. ... Speed is very important for our application, so I need to find a way to create a tiff file that MS Fax server will accept without re-formatting it. ...
    (microsoft.public.windows.vista.print_fax_scan)
  • IO optimization when copying bytes from one file to another
    ... I've written code to embed an ICC profile in a TIFF image, ... the change that adding the 12-bytes made and write them to the new TIFF file ... Copy the rest of the original TIFF to the new one. ...
    (microsoft.public.dotnet.general)
  • Re: Problem to read tiff file
    ... Is it possible that your extraction code has a bug. ... Make sure that the tiff file that you extracting from EPS is a valid ... I have extraced a tiff image embedded in an EPS file. ...
    (microsoft.public.dotnet.csharp.general)
  • Re: Color problems when converting indexed8 to 24 bit
    ... It's an uncompressed 6 Mb TIFF file. ... Find great Windows Forms articles in Windows Forms Tips and Trickshttp://www.bobpowell.net/tipstricks.htm ... the caller disposes of it? ...
    (microsoft.public.dotnet.framework.drawing)