Author |
Topic  |
|
graphman
  
259 Posts |
Posted - Jun 29 2011 : 13:23:58
|
I use ImageEnIO->LoadFromFile or ImageEnIO->ParamsFromFile and see ImageEnIO1->Params->DpiX = 300 real DpiX = 200
I see the 200 value in AcdSee, FastStone, Corel ...
Why? |
|
fab
   
1310 Posts |
Posted - Jun 29 2011 : 13:35:30
|
Please could you post a link to the file? |
 |
|
fab
   
1310 Posts |
Posted - Jun 29 2011 : 15:29:38
|
This image has two DPI info stored. One is inside the jpeg-header and one in the EXIF metatags. The jpeg-header contains the 200 dpi value, which is the value showed by other programs. The EXIF metatags contain the 300 dpi value. ImageEn select this value, as you can see.
Because it is more common to select the jpeg-header value then the next release of ImageEn will follow this way also, so it will show 200 dpi as other softwares. |
 |
|
graphman
  
259 Posts |
Posted - Jun 29 2011 : 16:06:51
|
Thanks.
New version of ImageEn is not free? |
 |
|
graphman
  
259 Posts |
Posted - Jun 29 2011 : 16:09:51
|
How to get the resolution value from header of JPG file? Now? |
 |
|
fab
   
1310 Posts |
Posted - Jun 30 2011 : 01:03:24
|
Now it is not possible, I'm sorry. The EXIF-dpi just overwrites the jpeg-headder value on loading. |
 |
|
graphman
  
259 Posts |
Posted - Jun 30 2011 : 04:40:12
|
How to get the resolution value from header of JPG file BEFORE LOADING? |
 |
|
fab
   
1310 Posts |
Posted - Jun 30 2011 : 05:10:53
|
When I write "on-loading" I include also the case of loading parameters only. So, I repeat, it is not possible. Of course you can still write your code to read the jpeg header, but this is out of topic, I'm sorry. |
 |
|
|
Topic  |
|