Rotate

G

Guest

I would like to rotate an image 90 degrees clockwise. The Image is imported
from a directory outside the database.

How can I do that in a Report?

Thanks in advance,

JeroenM.
 
G

Guest

Hi JeroenM,

I would recommend rotating the image and saving it as a new image in your
photo editing software. Then importing into the report. This will save a
lot of headaches.

Mandy Jo
 
G

Guest

I agree that's the easiest way, but I have to use the same images in another
application and there tese images should not be rotated. Anothe suggestion?

JeroenM

"Mandy J.S." schreef:
 
G

Guest

JeronenM,

Save the image twice. Once not rotated and then again as imagerotated.jpg.
You will have 2 files of the image: 1 normal and 1 rotated. Then you can use
both of them where you need them.

Mandy Jo
 
G

Guest

I don't want to do it that way. I want to solve it in Access.

JeroenM.

"Mandy J.S." schreef:
 
J

John Spencer

I don't know of a solution, but you might check out
www.lebans.com

Stephen often has solutions to these types of challenges. It may not be
directly addressed, but there may be code there you can examine and modify.
 
S

Stephen Lebans

You would have to write your own Bitmap rotation code using the GDI API. I
don't imagine you are familiar with this or you wouldn't be asking your
question in the first place. There is a steep initial learning curve to the
GDI. The level of difficulty is further exacerbated by the storage medium
used by the Access Image control.

What you could try instead is to incorporate the vbPictureBox project on my
site. It exposes several Rotation methods for the image currently loaded
into its Image control.
http://www.lebans.com/imageclass.htm
ImageClass has been replaced by the PictureBoxA97 project. A standard Image
control is wrapped within a class to allow the control to resemble the
standard Visual Basic PictureBox control. Simple drawing methods are
directly supported as is Text output with rotation. A handle to a Device
Context is exposed to allow the developer to use the full range of Graphic
API's. Also supports Screen Grabs, Copy to Clipboard and Save Image control
to a disk Bitmap file. Here is the Access 2000 version, PictureBoxA2K.zip
--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top