Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Getting Image Compression Info in VB.NET

131 views
Skip to first unread message

Corey Ellsworth

unread,
Aug 30, 2004, 4:28:26 PM8/30/04
to
I have an existing TIFF file on disk. I need to be able to read the image
compression information for this file using VB.NET. I am trying to verify
that all files coming into my system are CCITT Group 3 or Group 4 TIFFs. I
have found the methods to use to write Group3 and Group4 TIFFs, but I cannot
seem to read the compression type of an already existing TIFF. Does anyone
know how to do this in VB.NET? Thanks for the help.

Regards,

Corey Ellsworth


Mike D Sutton

unread,
Aug 30, 2004, 5:00:04 PM8/30/04
to
> I have an existing TIFF file on disk. I need to be able to read the image
> compression information for this file using VB.NET.<snip>

Http://www.mvps.org/EDais/DotNet/
You may also want to post to GDI+ groups such as microsoft.public.dotnet.framework.drawing
Hope this helps,

Mike


- Microsoft Visual Basic MVP -
E-Mail: ED...@mvps.org
WWW: Http://www.mvps.org/EDais/


marrisa

unread,
Jul 1, 2013, 4:38:46 AM7/1/13
to
<quote> I have an existing TIFF file on disk. I need to be able to read
Regards,</quote>
uh, is there some problem with the code you used? it's easy to realize image
compression and to read image compression information.
hope the code below will help.
<code>
Dim Image As New RasterEdgeImaging()

Private Sub ImageCompression()
If True Then
ImageCompression.infile("C:1.tif")
ImageCompression.Outfile("C:2.tif")
ImageEncoder = ImageEncoder.Group3Encoding
End If
End Sub
Image.ImageCompression(@"C:1.tif", "C:2.tif", ImageEncoder
ImageEncoder.Group3Encoding)
</code>
for more information, you may visit this page for detailed information about
Tiff image compression
http://www.rasteredge.com/how-to/vb-net-imaging/image-compressing
0 new messages