Home
Features
Demos
Store
Forum
Support
ImageEn Forum
Profile
Join
Active Topics
Forum FAQ
Search
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
Jpeg to PDF. Image too large on page
New Topic
Reply to Topic
Author
Topic
wolfie89au
Australia
3 Posts
Posted - Sep 24 2012 : 02:17:29
Using WPViewPDF version 3. Delphi 2007.
Trying to save jpg or Tif files to a PDF file. the images on the pdf document are page with when the original is 1/4 page width. This is all done by code.
TempName := ExtractFilePath(Application.EXEName) + 'Temp\' +
ExtractFileName(FileName);
copyFile(PChar(FileName), PChar(TempName), False);
imgView.IO.LoadFromFileJpeg(TempName);
imgView.IO.Params.PDF_Compression := ioPDF_LZW;
imgView.IO.Params.BitsPerSample := 1;
imgView.IO.Params.SamplesPerPixel := 1;
imgView.IO.SaveToFilePDF(ChangeFileExt(TempName, '.pdf'));
The image is saved to PDF but the small image is blown up to page width.
I have searched and not found a solution.
Any help to put me on the correct track would be appreciated.
wolfie89au
Australia
3 Posts
Posted - Sep 24 2012 : 02:22:48
Actually using TImageEnView version 4.1.0.
xequte
38611 Posts
Posted - Sep 24 2012 : 02:26:26
Hi
I'm afraid at this time there is no functionality to control the layout of outputted PDF files (other than page size).
Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
wolfie89au
Australia
3 Posts
Posted - Sep 24 2012 : 03:09:42
OK.
Thanks
Topic
New Topic
Reply to Topic
Jump To:
Select Forum
ImageEn Library for Delphi, C++ and .Net
ImageEn and IEvolution Support Forum
--------------------
Home
Active Topics
Frequently Asked Questions
Member Information
Search Page