Author |
Topic  |
|
dracola
 
Argentina
37 Posts |
Posted - Oct 05 2014 : 01:47:57
|
I have 72 dpi image that load with imageenview. How to crop selected area in the image into 300 dpi image?
and how to make the selected area fix, like i want to crop image used for id card that have size 30 x 40 mm, or 40 x 60 mm with 300dpi and paste cropped image in a new image size 1000 x 1500 mm (300dpi) in a exact position?
i use this to crop teh image.
if ( imageenview1.Selected ) then ImageEnView1.Proc.CropSel;
Thank's

 |
|
xequte
    
39142 Posts |
|
w2m
   
USA
1990 Posts |
Posted - Oct 08 2014 : 19:01:17
|
Nigel,
Is it better to use ChangeResolution?
TImageEnView.ChangeResolution
Declaration procedure ChangeResolution(NewDPI: Integer; ResampleFilter: TResampleFilter);
Description ChangeResolution changes the DPI of the image, resampling it and setting the new DPI values. You should ensure the source DPI contains valid values before calling ChangeResolution.
Bill Miller Adirondack Software & Graphics Email: w2m@hughes.net EBook: http://www.imageen.com/ebook/ Custom Commercial ImageEn Development |
 |
|
xequte
    
39142 Posts |
Posted - Oct 09 2014 : 18:59:28
|
Hi Bill
Yes, that is another good option.
Working with DPI is rather a headache. 300DPI = 762 Pixels per CM, so for an image of 1000 x 1500 MM (100 x 150 CM, for our American readers ;-) you need not only set the DPI to 300, but also resize the image to 76,200 x 114,300 pixels.
Your smaller images of 30x40 mm, must be set to 300 DPI and resized to 2286x3048, and for 40x60 mm, set to 300 DPI and resize to 3048x4572.
Nigel Xequte Software www.xequte.com nigel@xequte.com
|
 |
|
dracola
 
Argentina
37 Posts |
Posted - Oct 15 2014 : 20:06:04
|
thank's for fast respon ^_^ i think i rather play in pixel than...
|
 |
|
|
Topic  |
|