Need to rotate a GIF Image file

Knowledge exchange related to the VPE Report Engine and PDF Library

Moderator: IDEAL Software Support

Need to rotate a GIF Image file

Postby Mark Powers » Wed Dec 13, 2017 9:55 pm

I can not figure out how to rotate a GIF image file and print it in landscape mode? I tried using the standard "Rotation" command and rotate the image 90 degrees but it didn't work. Can a GIF image be rotated and if so what command do I use to get this done?

Using VPE version 7.0.3
Thanks
Mark Powers
Mark Powers
 
Posts: 25
Joined: Fri Apr 28, 2006 4:24 pm

Re: Need to rotate a GIF Image file

Postby IDEAL Software Support » Thu Dec 14, 2017 9:04 am

VpeSetRotation(hDoc, 900)
VpePicture(hDoc, 2, 2, VFREE, VFREE, "image.gif")
IDEAL Software Support
 
Posts: 1633
Joined: Thu Nov 18, 2004 4:03 pm

Re: Need to rotate a GIF Image file

Postby Mark Powers » Mon Dec 18, 2017 4:54 pm

Just was working with the rotation again, my original assumption was that the image was in a normal format, but I needed it rotated. Turns out the image was already rotated so my code was only rotating it again which made it appear the rotation was not working. Laughing at myself on a Monday morning!
Thanks
Mark
Mark Powers
 
Posts: 25
Joined: Fri Apr 28, 2006 4:24 pm


Return to VPE Open Forum

Who is online

Users browsing this forum: No registered users and 16 guests

cron