Images compression for BMP

Hi,

Is there any compression apply to images(BMP) will generating pdf ..

My image is around 8.5mb and my generated pdf is 218kb?

(.GIF also have the same behavior. JPG and PNG are ok).

Thanks

Daniel

PS: Is there any white paper on how images are handle?.

Code sample: (compile with .net 3.5, using aspose.pdf 5.0.0.0, Total License)

Pdf pdf1 = new Pdf();

Section sec1 = pdf1.Sections.Add();
sec1.PageInfo.PageWidth = Aspose.Pdf.PageSize.LetterWidth;
sec1.PageInfo.PageHeight = Aspose.Pdf.PageSize.LetterHeight;

Aspose.Pdf.Image imgPhotoA = new Aspose.Pdf.Image(sec1);
sec1.Paragraphs.Add(imgPhotoA);
imgPhotoA.ImageInfo.File = @"E:\vuarnet.bmp"; // 8.5mb image
imgPhotoA.ImageInfo.ImageFileType = ImageFileType.Bmp;
imgPhotoA.Left = 0;
imgPhotoA.Top = 0;
pdf1.CompressionLevel = 0;
pdf1.Save("E:\\output.pdf"); // 218kb file

Hello Daniel,

Thanks for using our products.

We are working over this query and will get back to you soon. Sorry for the delay.

Hello Daniel,

We use compression methods to store raster images according to PDF standard ISO 32000-1 (JPX Filter). Please visit the following link and take a look over "Imaging model -> Raster Images" section for further details over this topic. http://en.wikipedia.org/wiki/Portable_Document_Format.

In case you have any further query, please feel free to contact.