C# Raster - Image Compression in C#.NET
Explain Image Compression in C#.NET
Overview
All RasterEdge engineers and programmers are committed to developing and perfecting documents and images encoding and decoding toolkits in long term. This page is designed to show the general guide on how to compress and decompress images and documents in multiple C#.NET programs. You may have heard of image lossy and lossless compression, and we will give more info on them at the bottom of the tutorial page.
create barcode image using c#,
asp.net print pdf without preview,
add image to pdf itextsharp vb.net,
extract images from pdf c#,
vb.net extract text from pdf,
c# data matrix reader.
Our C#.NET Imaging Compressing SDK ensures users with huge abilities to read and write images in lossy or lossless compression model in C# applications.
Related .net document control helps:
asp.net tiff viewer: ASP.NET Tiff Viewer: view, annotate multipage Tiff images in ASP.NET MVC, WebForms using C# Control
asp.net mvc pdf editor: ASP.NET MVC PDF Viewer & Editor: view, annotate, redact, edit PDF document in C# ASP.NET MVC
asp.net document viewer c#: ASP.NET Document Viewer using C#: Open, View, Annotate, Redact, Convert document files in ASP.NET using C#, HTML5, JQuer...
asp.net dicom document viewer: ASP.NET Dicom Document Viewer Control: view, annotate dicom imaging files online in ASP.NET
asp.net document viewer:
EdgeDoc:ASP.NET Document Viewer C# Control:
Open, view, annotate, redact, convert documents online in C#, VB.NET, AS...
asp.net edit pdf text:
ASP.NET PDF Text Edit Control: online edit PDF text content using C# ASP.NET
asp.net powerpoint viewer: ASP.NET PowerPoint Document Viewer Control (MVC & WebForms): view ppt, pptx files online in C# using ASP.NET
Supported Compression Methods
The compression methods be supported by XImage.Raster are as follows:
vb net pdf create thumbnail from image,
c# itextsharp pdfcontentbyte add image,
how to crop a pdf in c#,
c# pdf embed font,
vb.net print form to pdf,
how to open pdf file using c#,
convert pdf to html vb.net.
Bzip
The RasterImage will use the Burrows-Wheeler algorithm, Named Bzip2 yet.
DXT1
It is also known as Block Compression1 or BC1.
DXT3
It is collectively also known as Block Compression 2 or BC2 converts 16 input pixels(corresponding to a 4*4 pixel block) into 128 bits of output.
asp net replace text fro pdf free,
asp.net pdf writer,
preview pdf in asp.net,
display pdf in iframe mvc,
asp.net pdf viewer control,
c# asp.net open word document,
asp.net tiff image viewer.
DXT5
It is collectively also known as Block Compression 3 or BC3 converts 16 input pixels into 128 bits of output.
Fax
Group4
It is known as CCITT Group4 fax compression.
JPEG
JPEG2000
LosslessJPEG
It is a class of data compression algorithms that allows the original data to be perfectly reconstructed from the compressed data
LZW
It is lempel, Ziv, Welch compression algorithm.
RLE
It is run length encoding.
Zip
It is an archive file format that supports lossless data compression.
ZipS
Piz
Pxr24
The PXR24 compression scheme used in Industrial Light & Magic's Open EXR file format is based on Carpenter's work.
B44
B44 This form of compression is lossy for half data and stores 32bit data uncompressed.
B44A
An extension to B44 where areas of flat color are further compressed. Regular B44 compresses uniformly regardless of image content.
LZMA
An algorithm used to perform lossless data compression.
JBIG1
A lossless image compression standard from the Joint Bi-level Image Experts Group.
JBIG2
An image compression standard for bi-level images, developed by the Joint Bi-level Image Experts Group.
Undefined
It is not support compression.
No
It represents no compression.
Image Compression In C#.NET
Sample code compression image with fax compression format:
RasterImage image = new RasterImage(@"F:\input.tif");
ImageProcess process = new ImageProcess(image);
process.TransformCompression(Compression.Fax);
image.Save(@"F:\Test.tif");
|
Sample code compression image without compression format:
RasterImage image = new RasterImage(@"F:\input.tif");
ImageProcess process = new ImageProcess(image);
process.TransformCompression(Compression.No);
image.Save(@"F:\Test.tif");
|