ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Imageen save PDF
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

klausdoege

Germany
389 Posts

Posted - Feb 18 2014 :  06:38:58  Show Profile  Reply
Hello,

if I a picture, size approximately: 1MB in PDF changes,
then, a PDF file originates from approximately: 25MB.
Whether as color, compresses or sw.
Why is this so big?

Greetings
Klaus

Klaus
www.klausdoege.de

w2m

USA
1990 Posts

Posted - Feb 20 2014 :  16:28:24  Show Profile  Reply
Have you looked at pdf compression or reduce the bitdepth of the image to 256 color?
procedure TForm1.AddPage;
const
  PDFCompression: array[0..3] of TIOPDFCompression = (ioPDF_RLE, ioPDF_G3FAX2D, ioPDF_G4FAX, ioPDF_JPEG);
  PSCompression: array[0..3] of TIOPSCompression = (ioPS_RLE, ioPS_G3FAX2D, ioPS_G4FAX, ioPS_JPEG);
begin
  case RadioGroup1.ItemIndex of
    0:
      begin
        // Adobe PDF
        ImageEnView1.IO.Params.PDF_Compression := PDFCompression[ComboBox2.ItemIndex];
        ImageEnView1.IO.SaveToPDF;
      end;
    1:
      begin
        // PostScript (PS)
        ImageEnView1.IO.Params.PS_Compression := PSCompression[ComboBox2.ItemIndex];
        ImageEnView1.IO.SaveToPS;
      end;
  end;
end;

William Miller
Adirondack Software & Graphics
Email: w2m@frontiernet.net
EBook: http://www.imageen.com/ebook/
Apprehend: http://www.frontiernet.net/~w2m/index.html
Go to Top of Page

klausdoege

Germany
389 Posts

Posted - Feb 25 2014 :  13:09:38  Show Profile  Reply
Hello William,

sorry that was my mistake, I had set the parameters on the wrong picture.

thank you and many greetings
Klaus

Klaus
www.klausdoege.de
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: