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
 Extract Jpeg from NEF RAW file

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
pDavid Posted - Jan 03 2013 : 16:14:47
Hi,

how quickly extract the jpeg from raw file (nef, cr2, etc) ?

EnableLoadEXIFThumbnails is the only way ?

Thankyou
David
5   L A T E S T    R E P L I E S    (Newest First)
fab Posted - Jan 16 2013 : 10:34:16
Actually ioJPEG_AUTOCALC works only for jpeg and tiff.
For other RAWs it is only possible to extract the thumbnail:

imageenview1.IO.Params.GetThumbnail := true;
imageenview1.io.LoadFromFile('image.NEF');
pDavid Posted - Jan 11 2013 : 15:25:25
//With ioJPEG_AUTOCALC you should also set the desired size

I already use it for jpeg files but it doesn't work for jpeg extracted from raw files.

How Picasa can extract and display so fast the nef and cr2 files ? (when navigating with mousewheel)
fab Posted - Jan 08 2013 : 07:59:44
With ioJPEG_AUTOCALC you should also set the desired size:

ImageEnView1.IO.Params.Width:=100;
ImageEnView1.IO.Params.Height:=100;
ImageEnView1.IO.Params.JPEG_Scale:=ioJPEG_AUTOCALC;
ImageEnView1.IO.LoadFromFile('....');
pDavid Posted - Jan 04 2013 : 13:30:35
How Can i apply this param

/* IO.Params.JPEG_Scale := ioJPEG_AUTOCALC;

to the jpeg extracted from TIFF ?

Because it so slow when i try to load.

i add this param

/* IO.Params.RAW_HalfSize := True

but the result is the same !

xequte Posted - Jan 04 2013 : 01:07:45
Hi

You can extract the JPEG image from some RAw formats as follows:

DNG:
ImageEnView1.IO.Params.TIFF_SubIndex:=1;
ImageEnView1.IO.LoadFromFileTIFF('input.dng');

CR2:
ImageEnView1.IO.Params.ImageIndex:=0;
ImageEnView1.IO.LoadFromFileTIFF('input.cr2');

NEF:
ImageEnView1.IO.Params.ImageIndex:=1;
ImageEnView1.IO.LoadFromFileTIFF('input.nef');

CRW:
ImageEnView1.IO.LoadJpegFromFileCRW('input.crw');


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