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
 show the exif thumbnail separately?

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
Primus Posted - Apr 22 2013 : 06:45:50
Is it possible to load an image, display it in imageenview and show the Exif thumbnail in an sperately imageenview? Is it also possible to store an completely other picture as exif thumbnail?
1   L A T E S T    R E P L I E S    (Newest First)
w2m Posted - Apr 22 2013 : 07:52:50
quote:
Is it possible to load an image, display it in imageenview and show the Exif thumbnail in an sperately imageenview?

Yes this is possible:
procedure TForm1.Button1Click(Sender: TObject);
begin
  if OpenPictureDialog1.Execute then
  begin
    { Load just the EXIF_Bitmap into ImageEnView1 }
    ImageEnView1.IO.Params.GetThumbnail := True;
    ImageEnView1.IO.LoadFromFile(OpenPictureDialog1.FileName);
    if Assigned(ImageEnView1.IO.Params.EXIF_Bitmap) then
      ShowMessage('ImageEnView1 Has EXIF Bitmap.')
    else
      ShowMessage('No EXIF Bitmap in ImageEnView1.');
    { Load the full image into ImageEnView2 }
    ImageEnView2.IO.Params.GetThumbnail := False;
    ImageEnView2.IO.LoadFromFile(OpenPictureDialog1.FileName);
    ImageEnView1.Hint := IntToStr(ImageEnView1.Bitmap.Width) + ' x ' + IntToStr(ImageEnView1.Bitmap.Height);
    ImageEnView2.Hint := IntToStr(ImageEnView2.Bitmap.Width) + ' x ' + IntToStr(ImageEnView2.Bitmap.Height);
  end;
end;


quote:
Is it also possible to store an completely other picture as exif thumbnail?

No I do not think this is possible. In my tests if you replace the EXIF_Bitamp, the image itself changes to the "old" EXIF thumbnail. I would not recommend doing this.

William Miller
Adirondack Software & Graphics
Email: w2m@frontiernet.net
EBook: http://www.imageen.com/ebook/
Apprehend: http://www.frontiernet.net/~w2m/index.html