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
 Rotate tiff thumbs
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

arkipix

Denmark
16 Posts

Posted - Nov 07 2012 :  08:24:03  Show Profile  Reply
Hi
I have not found a way of rotating tiff images like the way it is possibly with jpegs ( JpegLosslessTransform2 ) in ImageEnMView.

TIFF_EnableAdjustOrientation only works in ImageEnView.
Is it possibly to rotate thumbs?

Regards
Peter

w2m

USA
1990 Posts

Posted - Nov 07 2012 :  12:04:34  Show Profile  Reply
TIOParams.TIFF_EnableAdjustOrientation

Declaration

property TIFF_EnableAdjustOrientation:boolean;

Description

When TIFF_EnableAdjustOrientation is True, ImageEn rotates loaded images as specified in the TIFF file. (default value is False).
procedure TMainForm.ImageEnMView1BeforeImageDraw(Sender: TObject; idx, Left, Top: Integer;
  Canvas: TCanvas);
begin
  ImageEnMView1.MIO.Params[idx].EnableAdjustOrientation := AdjustOrientation1.Checked;
end;


NOT Tested

William Miller
Email: w2m@frontiernet.net
EBook: http://www.imageen.com/ebook/
Apprehend: http://www.frontiernet.net/~w2m/index.html
Go to Top of Page

arkipix

Denmark
16 Posts

Posted - Dec 20 2012 :  04:23:29  Show Profile  Reply
Hi
ImageEnMView1.MIO.Params[idx].EnableAdjustOrientation := True; // does not work when reading tiff files into imageEnMview. They are not shown right even when rotated before in another app.

ImageEnView1.IO.Params.TIFF_EnableAdjustOrientation := True; //works OK when clicking the not rotated thumb that has been rotated in another app.

Still there is no way of rotating with ImageEn?? I must use PhotoShop?

Regards
Peter
Go to Top of Page

xequte

39053 Posts

Posted - Dec 21 2012 :  14:46:57  Show Profile  Reply
Hi Peter

Do you mean that when you rotate the TIFF in ImageEn the thumbnail is not updated (stays rotated)?

Or do you mean that the images do not automatically rotate when viewed?

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

arkipix

Denmark
16 Posts

Posted - Dec 23 2012 :  02:15:41  Show Profile  Reply
Hi
The best would be if I could rotate tiff in imageEnMview and more better if ImageEnMview could show allready rotated tiff images correct.
Regards
Peter
Go to Top of Page

xequte

39053 Posts

Posted - Dec 23 2012 :  21:32:40  Show Profile  Reply
Hi Peter

You can rotate the file in an ImageEnMView by using its Proc property, or just rotate it for display in the event:

TImageEnMView.OnBeforeImageDrawEx

If you have rotated a TIFF in another application it may not have updated its thumbnail, so try calling:

TImageEnMView.EnableLoadEXIFThumbnails := False;




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