Link to home
Start Free TrialLog in
Avatar of EGormly
EGormlyFlag for United States of America

asked on

Rotating an Image and saving

My Boss came up to me today and said:

"Hey, you know what would be cool?  If we could distribute a simple little program that would allow out digital frame users to preview the images on their memory cards (in a simulated frame) and rotate and images that were shot with the camera in the vertical position instead of horizontal postion.. get that done soon.. ok?"

I argued a little bit that there were "100 ways for the user to do this", but he insisted that our users would "love us" for a custom solution...

Well... the problem is I have very limited programming experience (just basic VB 6) and no idea how to implement this "idea",  but I know I can probably get an ActiveX or something to do this..  
(note: I can probably do it in VB.net as at first glance it looks similar to good ole VB)

Does anyone know :

1. Where I should start
2. Where I can find an example of this or something similar
3. If there is a easy solution to this problem.

My day went from bad to worse and I need a little sunshine!


ASKER CERTIFIED SOLUTION
Avatar of JackOfPH
JackOfPH
Flag of Philippines image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of EGormly

ASKER

First of all.. WOW that is a lot more than I hoped for.

>>"Tell me if you need some more complex technique....."

No nothing more complex.. but I need to save the resulting image.
Is that easy? Should I accept this and then post a new question?
If you want to save the picture from the picture box do this.

Picture1.Savepicture("c:\rotate.jpg")
Any progress?
Avatar of EGormly

ASKER

Works great for rotating images!
Avatar of EGormly

ASKER

>>Picture1.Savepicture("c:\rotate.jpg")

I tried that first.
I would have thought that would work, but it doesn't.
I also tried sending the reults to a second picture box and then saving that and I get nothing but the color of the box.

I don't think the rotation is being applied to the actual image assigned to the picture box.
It's weird but I will figure it out.

I have posted this querstion (for saving) elewhere.