Author |
Topic  |
|
GeneJu
USA
4 Posts |
Posted - Sep 10 2025 : 14:07:41
|
Hello,
I am using ImageEn 13.5. I am trying to create a monochrome PDF but it end up being 8 bit color.
ImageEnViewPdf := TImageEnView.Create(nil); ImageEnViewPdf.IO.Params.PDF_PaperSize := IEStrToPaperSize('US Letter', iepLetter); ImageEnViewPdf.IO.Params.PDF_PaperLayout := ielLandscape; ImageEnViewPdf.IEBitmap.PixelFormat := hyiedefs.ie1g; IEGlobalSettings.AutoSetBitDepth := True;
Are there any other parameters that I need to change?
Thank You
Gene
GJ |
|
xequte
    
39146 Posts |
|
GeneJu
USA
4 Posts |
Posted - Sep 11 2025 : 09:41:15
|
Hello Nigel,
"Native loading is being used for PNG"
Also these show as undeclared identifiers so maybe a version issue? RadStudion 12.3 ImageEn 13.5
IEGlobalSettings.IEVisionAvailable IEGlobalSettings.CopyIEStatusToClipboard(True, True);
GJ |
 |
|
xequte
    
39146 Posts |
Posted - Sep 11 2025 : 13:51:29
|
Ugh, sorry, I meant ActivePDFEngine. I need to know if you are using native ImageEn code or PDFium to save PDF files.
Nigel Xequte Software www.imageen.com
|
 |
|
GeneJu
USA
4 Posts |
Posted - Sep 12 2025 : 09:07:14
|
I installed the latest ImageEn and ran the Compatibility Fixer (useful tool)
I ran this code - ----------------------------------------------------------------- IEGlobalSettings.PDFEngine := ieenAuto; if IEGlobalSettings.ActivePDFEngine(True) = ieenNative then ShowMessage('Native loading is being used for PDF') else ShowMessage('Native loading is NOT being used for PDF');
"Native loading is NOT being used for PDF" was the answer -----------------------------------------------------------------
The PDF was saved in the correct format greatly reduced in size. ------------------------------------------------------------------ ImageEn Version: v14.2.6 Beta (9/10/2025)
IEVision/IELib DLL: Unavailable IELang DLL: Unavailable PDFium DLL: Unavailable SevenZip DLL: Unavailable WebP DLL: Unavailable ImageMagick DLL: Unavailable
JPEG Engines: [Native], WIC PNG Engines: [Native], WIC JPEG2000 Engines: [Native] Raw Engines: [WIC] PDF Engines: [Native] WebP Engines: [WIC]
GJ |
 |
|
xequte
    
39146 Posts |
Posted - Sep 13 2025 : 01:02:49
|
Thanks Gene, so it is working correctly now?
Nigel Xequte Software www.imageen.com
|
 |
|
GeneJu
USA
4 Posts |
Posted - Sep 15 2025 : 11:34:02
|
Hi Nigel, We are now getting the correct PDF format but found another error. When we installed the newly re-compiled program for an end-user, she received the following error.
"PDFium.DLL is missing - Copy iepdf32.dll to folder with Notary.exe" This message is somewhat confusing.
I found this - https://www.imageen.com/ieforum/topic.asp?TOPIC_ID=5374
Where can I download the correct DLLs?
Thanks,
Gene
iepdf32.dll was already there. We added PDFium.dll but we are still getting the same error message.
Gene
GJ |
 |
|
xequte
    
39146 Posts |
Posted - Sep 15 2025 : 15:08:20
|
Hi Gene
iepdf32.dll is our PDFium DLL. It is included in the \DLL\ folder where you installed ImageEn.
However this error is not in our code: "PDFium.DLL is missing - Copy iepdf32.dll to folder with Notary.exe." So presumably it is in yours. What is the code that triggers this message?
Nigel Xequte Software www.imageen.com
|
 |
|
|
Topic  |
|