dali_ing Posted May 31, 2011 Share Posted May 31, 2011 Hi,I'm working in a report in which have to display images with different rotation (Left, Right,..). I'm wondring if some one knows how to do that. I tried to chnage that in Jasper code but it didn't worked well for me (only in clip mode)Thanks Link to comment Share on other sites More sharing options...
arronwall1 Posted October 15, 2013 Share Posted October 15, 2013 using System.IO;using System.Drawing.Printing;using Yiigo.Imaging;using Yiigo.Imaging.Processing;// Rotate image to 90 degreesusing YiigoImage Image = new YiigoImage();{string ImageID = (@"C: yiigo_example.jpg");RotateAngle Rotation = RotateAngle.90;}Image. YiigoImageProcessRotate(@"C: yiigo_example.jpg", RotateAngle.90);Image.save(@"C: yiigo_example.jpg");// Rotate image to 180 degreesusing YiigoImage Image = new YiigoImage();{string ImageID = (@"C: yiigo_example.jpg");RotateAngle Rotation = RotateAngle.180; }Image. YiigoImageProcessRotate(@"C: yiigo_example.jpg", RotateAngle.180);Image.save(@"C: yiigo_example.jpg");// Rotate image to 270 degreesusing YiigoImage Image = new YiigoImage();{string ImageID = (@"C: yiigo_example.jpg");RotateAngle Rotation = RotateAngle.270;}Image. YiigoImageProcessRotate(@"C: yiigo_example.jpg", RotateAngle.270);Image.save(@"C: yiigo_example.jpg");[/code]You can rotate images using the code above. Or you can also employ a fine Image SDK and rotate images with the help of it. Google it and check itsfree trial packge first if possible. I hope you success. Good luck. Best regards,Arron Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now