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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Deskew PDF

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
Homer Posted - Jan 10 2022 : 04:25:53
The application in which I use ImageEn is a document manager, think electronic filing cabinet. It saves, organizes prints, emails exports, displays and otherwise manages JPG, PNG, TIFF, BMP, PDF, Doc, and Docx files and allows minor editing of graphic images. I created the app years ago when ImageEn 2.1 didnít support PDF files. Back then I used an early release of WPViewPDF to display PDFs. After a while I switched to using TWebBrowser until new releases of Windows made that troublesome. Then I switched to Adobeís AcroPDF.DLL. That has been rock solid for years even though I couldnít scan PDFs directly into the app.

IE 10.2 allowes me to use ImageEnMview to scan and save PDFs. That is really great, but I still use Adobe's dll because thatís the way it has been done for years, and my users are familiar with the UI.

I just added deskewing for JPG and PNG as a new feature, and would like to do it for PDFs. If I understand correctly, ImageEn canít natively load PDFs. Even if it can, each page of a PDF can have a different amount of skew so I think they must somehow be handled individually. For deskewing, angle computation takes time. In a multi-page document, doing one page at a time could take ages, but could still be a nice feature to add. Anyway, perhaps someone could suggest a strategy. Looking for a methodology rather than code, although code is always helpfull.


5   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Jan 13 2022 : 19:16:25
Unfortunately, no. The library makes use of many features that were not available in that version.

Nigel
Xequte Software
www.imageen.com
Homer Posted - Jan 13 2022 : 11:01:52
If I understand correctly, PDFium will not work with D2007. That's what I'm stuck with. Any way around this?
xequte Posted - Jan 11 2022 : 19:47:47
No worries. I do mean the PDFium that is available in ImageEn:

www.imageen.com/download/


Nigel
Xequte Software
www.imageen.com
Homer Posted - Jan 10 2022 : 16:38:59
Thank you, Nigel. I thought it would be something like that, but I didn't think of PDFium. That's good to know. I need to get this update out to my customers, so I'll play with that after the crunch is over. Thanks again.
xequte Posted - Jan 10 2022 : 16:35:25
Hi Homer

I'm not sure ImageEn would be the best solution for that, because:
- It would only work with image only PDF documents
- You would need to load the PDF using PDFium, deskew each page, and then save using native PDF saving. There is potential for loss of quality in that process

Nigel
Xequte Software
www.imageen.com