Re: How to create a TIFF image from a binary raw data
- From: huayingyang@xxxxxxxxx
- Date: Mon, 22 Oct 2007 08:41:06 -0700
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.
.
- Follow-Ups:
- References:
- How to create a TIFF image from a binary raw data
- From: huayingyang
- Re: How to create a TIFF image from a binary raw data
- From: Jeff Higgins
- How to create a TIFF image from a binary raw data
- Prev by Date: Re: generator sequencial strings
- Next by Date: Re: javax.bluetooth package
- Previous by thread: Re: How to create a TIFF image from a binary raw data
- Next by thread: Re: How to create a TIFF image from a binary raw data
- Index(es):
Relevant Pages
|