
Help-Wang Image Scan control
Quote:
> Has anyone used the Wang Image Scan control that comes with VB5.0?
> If so, how can u compress a colour scanned image. I have tried this:
> imgscan1.filetype=TIFF
> imgscan1.compressiontype=JPEG
> imgscan1.compressioninfo=64
> This does not work. When I tried to view the compressed image, it seemed
> sort of corrupted. Please help.
I'm leaping to a conclusion here, because I haven't used the control
you mention. But I *have* used the Wang Imaging application that
comes with NT 4.0, and it's a reasonable bet that that's based on the
same code, no? Anyway, Wang Imaging's TIFF/JPEG code is brain damaged
beyond belief. It follows an obsolete, ambiguous TIFF/JPEG specification,
and there are at least three demonstrable ways that it violates the
parts of that specification that aren't ambiguous. There is no chance
on God's green earth that any non-Wang-based software will ever read
or write what Wang thinks is a TIFF/JPEG.
Try asking it for a plain JFIF-format JPEG, and you might possibly
get something that other software will deal with.
Alternatively, find a VB control written by more competent people.
regards, tom lane
organizer, Independent JPEG Group
member, TIFF Advisory Committee