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
 Wrong size and dpi information

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
PStadler Posted - Mar 13 2016 : 11:59:39
Hello

I have a lot of jpg and tiff-files, which were produced by using a camera to photograph old books, which cannot be scanned. Both formats seem to have an error. The images have 3456x5184 pixel and they report to have a size of 121x183cm with a dpi of 72. But the books photographed are about A4-Format, that means 21 cm x 29,7 cm.

So how could this error be corrected by using ImageEn?

Any help appreciated!

Sincerely
Peter
1   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Mar 13 2016 : 22:40:56
Hi Peter

You can just set the dpi of the image, e.g.

ImageEnView1.IO.Params.DpiX := 200;
ImageEnView1.IO.Params.DpiY := 200;

If you use a value of around 420, that gives you A4 size output (though obviously you should write a routine to get the specific values for your images).

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com