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
 Thumbnails of Sony ARW
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

Schmidtze

Germany
5 Posts

Posted - Dec 07 2013 :  03:45:07  Show Profile  Reply
Hello,

I just updated to ImageEn 5.0.5 and noticed that Sony ARW files will not be shown with a green foggy effect anymore. Fine But a new problem occurs now, the thumbnails will not be shown anymore:



The image has taken with SLT A55. ARW files taken with A700 will be shown correctly. Is there maybe a trick how to load the thumbnail image?

The RAW file can be downloaded here: http://friedemann-schmidt.de/download/sony_slt-a55v.arw

Many thanks in advance and best regards
Friedemann

Uwe

284 Posts

Posted - Dec 07 2013 :  10:03:19  Show Profile  Reply
Hi Friedemann

Long time no see... :)

Can't help you here because I only use DCRAWLIB.dll in combination with Jim's VirtualShellTools (why on earth did you switch anyway?), but your screenshot above seems to show a Canon CRW file, not a Sony ARW.

-Uwe
Go to Top of Page

Schmidtze

Germany
5 Posts

Posted - Dec 07 2013 :  10:11:47  Show Profile  Reply
Hi Uwe,

Uwe, it's you... I noticed already a posting here from you, also regarding ARW. NO! I didn't switch, I also use VirtualShellTools and that's where I have this problem. I posted a screenshot of ImageEn demo (CameraRaw), but in VirtualShellTools it looks the same. No it isn't a CRW, it's an ARW, but ImageEn shows "CRW", that's right... Do you have a solution for VirtualShellTools???

Regards
Friedemann
Go to Top of Page

Uwe

284 Posts

Posted - Dec 07 2013 :  10:27:37  Show Profile  Reply
Hi Friedemann,

I'm still on ImageEN 4.3.0. All I can tell you is that VirtualShellTools, ImageEN 4.3.0 and dcrawlib.dll work together flawlessly. I just checked VirtualThumbnails.pas by the way ... seems that Fabrizio should have a closer look at the ImageEnIO.Params.GetThumbnail procedure (stating the obvious, I guess).

quote:
noticed that Sony ARW files will not be shown with a green foggy effect anymore

That has nothing to do with ImageEn, but with DCRAW and the cameras it supports. If no color matrix for a specific model is available, DCRAW outputs raw color data instead of sRGB.


-Uwe
Go to Top of Page

Schmidtze

Germany
5 Posts

Posted - Dec 10 2013 :  03:11:36  Show Profile  Reply
Hi,

a user of my software (GeoSetter) just reported the same problem with CR2 files. I didn't test it by now. Do you have any idea what I can do? Is there maybe a workaround for this, maybe by extracting the thumbnail manually?

Best regards
Friedemann
Go to Top of Page

Schmidtze

Germany
5 Posts

Posted - Dec 10 2013 :  03:18:57  Show Profile  Reply
Hi,

I purchased version 5 a few days ago. With ImageEn 3 I didn't have this problem regarding ARWs and CR2s. Is it perhaps possible to get version 4 somewhere to test if it causes the same problem?

Best regards
Friedemann
Go to Top of Page

Uwe

284 Posts

Posted - Dec 10 2013 :  07:38:00  Show Profile  Reply
Friedemann

I just tested some CR2's with the latest beta of GeoSetter, but on my system everything looks okay. My own application uses ImageEn 4.3.0 and the latest dcrawlib.dll, and also doesn't show the bug you were describing.

quote:
Do you have any idea what I can do?

Do a diff of both ieraw.pas and imageenio.pas between versions 3 and 5, and see what has changed in general or for the CR2/ARW file formats in particular.


HTH
-Uwe
Go to Top of Page

Schmidtze

Germany
5 Posts

Posted - Dec 10 2013 :  08:10:42  Show Profile  Reply
Hi Uwe,

I do not have the sources of version 3. I only have them for version 5...

BTW, I've sent you an E-Mail to the address which I got from you a few years ago. This mail came back erporting an error regarding wrong address. In this forum I'm unfortunately not allowed to send you a private message :-(

Regards
Friedemann
Go to Top of Page

Uwe

284 Posts

Posted - Dec 10 2013 :  10:33:19  Show Profile  Reply
Just send you an e-mail. Hopefully your provider doesn't reject mails from Comcast accounts.
Go to Top of Page

User

3 Posts

Posted - Dec 14 2013 :  13:12:45  Show Profile  Reply
Seems like in this file thumbnail is modified TIFF or something else.

But ImageEN help give us solution. Use OnPreviewFile in TOpenImageEnDialog. Changed code:

  if ParamsOnly then
    (Viewer as TImageEnView).IO.ParamsFromFile(FileName)
  else
  if Viewer is TImageEnView then
  begin
    TImageEnView(Viewer).IO.Params.GetThumbnail :=
      not AnsiSameText(ExtractFileExt(FileName), '.arw');
    TImageEnView(Viewer).IO.LoadFromFileAuto(FileName);
  end else
    if Viewer is TImageEnMView then
      TImageEnMView(Viewer).LoadFromFileOnDemand(FileName);

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: