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
 Image Rotation Problem
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

bmesser

United Kingdom
234 Posts

Posted - Apr 29 2013 :  04:50:30  Show Profile  Reply
Hi

I'm loading a GIF of a weather chart from a URL and then trying to rotate it by 15° (to make the Greenwich meridian vertical). Simple enough but this code fails to do it.

ImageEnView.IO.LoadFromURL(url);

if ImageEnView.IO.Aborting then
 ImageEnView.IO.LoadFromFilePNG('C:\Images\missing.png')

ImageEnView.Proc.Rotate(15,True,ierBicubic,clWhite);
ImageEnView.Update;


The strange thing is that the PNG image that I load when the download fails is rotated!

Bruce.

w2m

USA
1990 Posts

Posted - Apr 29 2013 :  05:28:21  Show Profile  Reply
What is the url to the image?

William Miller
Go to Top of Page

bmesser

United Kingdom
234 Posts

Posted - Apr 29 2013 :  09:06:41  Show Profile  Reply
My fault - I am now rotating images to my hearts content!
I don't know what was happening but its working now.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: