Note: You must be registered in order to post a reply. To register, click here. Registration is FREE!
T O P I C R E V I E W
bmesser
Posted - Apr 29 2013 : 04:50:30 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.
2 L A T E S T R E P L I E S (Newest First)
bmesser
Posted - Apr 29 2013 : 09:06:41 My fault - I am now rotating images to my hearts content! I don't know what was happening but its working now.
w2m
Posted - Apr 29 2013 : 05:28:21 What is the url to the image?