Home
Features
Demos
Store
Forum
Support
ImageEn Forum
Profile
Join
Active Topics
Forum FAQ
Search
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
Extract Jpeg from NEF RAW file
New Topic
Reply to Topic
Author
Topic
pDavid
12 Posts
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
xequte
38627 Posts
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
pDavid
12 Posts
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 !
fab
1310 Posts
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
12 Posts
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
1310 Posts
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');
Topic
New Topic
Reply to Topic
Jump To:
Select Forum
ImageEn Library for Delphi, C++ and .Net
ImageEn and IEvolution Support Forum
--------------------
Home
Active Topics
Frequently Asked Questions
Member Information
Search Page