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
 ImageEn 6.0.1 and 64-bit raw image loading issue
 New Topic  Reply to Topic
Previous Page
Author Previous Topic Topic Next Topic
Page: of 2

mhieta

Finland
78 Posts

Posted - Jun 06 2015 :  10:23:10  Show Profile  Reply
Hi Nigel,

I was already using:
ImageEnIO.LoadFromStreamRAW(F);

how that LoadFromFileRAW differs from LoadFromStreamRAW ? Any differ than file load and other is from stream loading ?

Still with this LoadFromFileRAW many raw files is not loaded. I have so many different raw files so I cannot post them all, sorry. Anyway those are loaded fine with dcrawlib.dll in 32-bit.

- Marko
Go to Top of Page

xequte

38510 Posts

Posted - Jun 07 2015 :  03:32:14  Show Profile  Reply
Hi Marko

LoadFromFileRAW and LoadFromStreamRAW will give the same result.

Does this still fail?


IEAutoLoadIOPlugins;
ImageEnView1.IO.Params.RAW_ExtraParams := '-e';
ImageEnView1.IO.LoadFromFileRaw( '178H0047a.dng' );


Please give specific examples of other failures.

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

mhieta

Finland
78 Posts

Posted - Jun 07 2015 :  06:23:08  Show Profile  Reply
Hi Nigel,

Here is complete simple example:
http://koti.mbnet.fi/mhieta/temp/Project1.zip

Inside zip there is also compiled 32-bit and 64-bit exe files and dcrawlib.dll and ielib64.dll included. And there is couple of sample files included too.

And the code is:
if OpenImageEnDialog1.Execute then
  begin
    IEAutoLoadIOPlugins;
    ImageEnView1.IO.Params.RAW_ExtraParams := '-e';
    ImageEnView1.IO.LoadFromFileRAW( OpenImageEnDialog1.FileName );
  end;


And yes it still fails to load several raw images including those sample files.

That 178H0047a.dng is loaded okay in 32-bit and 64-bit.

- Marko
Go to Top of Page

xequte

38510 Posts

Posted - Jun 09 2015 :  21:02:22  Show Profile  Reply
Hi Marko

Thanks for the demo. I realize now that there is a quirk in IEAutoLoadIOPlugins that it does not remove the internal raw handling when using ielib. I will fix this for the next update.

In the meantime you can use:

  if OpenImageEnDialog1.Execute then
  begin    
    {$ifdef WIN64}
    IEFileFormatRemove(ioRAW);
    {$ENDIF}
    IEAutoLoadIOPlugins;
    ImageEnView1.IO.Params.RAW_ExtraParams := '-e';
    ImageEnView1.IO.LoadFromFileRAW( OpenImageEnDialog1.FileName );
  end;



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

mhieta

Finland
78 Posts

Posted - Jun 10 2015 :  14:23:55  Show Profile  Reply
Hi,

Sorry still not success with every raw image what I have:

Here is couple raw images what has some issues:
http://koti.mbnet.fi/mhieta/temp/100.RAW
http://koti.mbnet.fi/mhieta/temp/2003_03b_IMG_1432.DNG

- Marko
Go to Top of Page

xequte

38510 Posts

Posted - Jun 10 2015 :  21:43:07  Show Profile  Reply
Hi Marko

Yes, neither of these files support "-e" in 32bit or 64bit. Presumably they do not include an embedded preview image.


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