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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 dcrawlib parameters
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

quantuz

Sweden
55 Posts

Posted - Oct 09 2014 :  15:43:37  Show Profile  Reply
Hi,

Q1: What parameter are IE using when extracting camera raw images using dcrawlib.dll?
Q2: If I use extra dcraw parameter using i.e. ImageEnView1.IO.Params.RAW_ExtraParams = "-H 0 -j"; is these parameters overriding the default parameters?
Using IE 5.1
Best Regards,
//Christer

xequte

39142 Posts

Posted - Oct 09 2014 :  21:41:36  Show Profile  Reply
Hi Christer

1. By default, no params are used, unless the following properties are set:

IOParams.IsNativePixelFormat: -4
IOParams.RAW_HalfSize: -h
IOParams.RAW_QuickInterpolate: -q 0
IOParams.RAW_UseAutoWB: -a
IOParams.RAW_UseCameraWB: -w
IOParams.RAW_Bright: -b n (where n is the bright value)

2. As no params are passed unless the properties above are set, it is unlikely you will have any problem.


Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

quantuz

Sweden
55 Posts

Posted - Oct 10 2014 :  13:25:04  Show Profile  Reply
Hi Nigel,

Thanks it work very nice!
I use the EnMView->AppendImage(filename) to add thumbs from raw camera, the thing is the thumb have a different apparence (I asume gamma applied) than the actual loaded image wich is loaded with the parameters RAW_ExtraParams = "-w -4 -o 1 -W";
so how could I get the same apparence for the thumb as the real image?
One way could be to load the full image with the paameters and then resize it an add it to the EnMView, this is time consuming, do you have any better idea?
I asume the shown thumb is loaded direct from the supplied thumb in the raw image.
Regards,
//Christer
Go to Top of Page

xequte

39142 Posts

Posted - Oct 12 2014 :  16:15:13  Show Profile  Reply
Hi Christer

What is your setting for TImageEnMView.EnableLoadEXIFThumbnails?

http://www.imageen.com/help/TImageEnMView.EnableLoadEXIFThumbnails.html

If it is enabled ImageEn will try to use the thumbnail from within an image's EXIF data if it is available and big enough.

Otherwise it will load the image using the fastest method (which for RAW images would be half size) and then rescale.


Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: