Rotate bitmap

This forum is for eXpress++ general support.
Post Reply
Message
Author
c-tec
Posts: 379
Joined: Tue Apr 20, 2010 1:36 am
Location: SALZBURG/AUSTRIA
Contact:

Rotate bitmap

#1 Post by c-tec »

Hello,
I have to rotate a bitmap when reading from a file and displaying with DCBITMAP and dc_bitmapdraw(). How can I do that ?
regards
Rudolf
Rudolf Reinthaler
digital pen & paper systems
http://www.formcommander.net

User avatar
Tom
Posts: 1175
Joined: Thu Jan 28, 2010 12:59 am
Location: Berlin, Germany

Re: Rotate bitmap

#2 Post by Tom »

Hi, Rudolf.

GraRotate() does not work with bitmaps or other images. As far as I know, there is no way to do this with Xbase++-functions. I use an AX control named "ImageKit 7" for this. It allows to display, manipulate, save and store all kinds of images:

http://www.imagekit.com/imagekit7.html
Best regards,
Tom

"Did I offend you?"
"No."
"Okay, give me a second chance."

User avatar
Auge_Ohr
Posts: 1407
Joined: Wed Feb 24, 2010 3:44 pm

Re: Rotate bitmap

#3 Post by Auge_Ohr »

c-tec wrote:I have to rotate a bitmap when reading from a file and displaying with DCBITMAP and dc_bitmapdraw(). How can I do that ?
Greg Doran have publish BmpManip-Update-v3-0.zip in Alaska Forum (2005 / 06 )
greetings by OHR
Jimmy

skiman
Posts: 1186
Joined: Thu Jan 28, 2010 1:22 am
Location: Sijsele, Belgium
Contact:

Re: Rotate bitmap

#4 Post by skiman »

Hi,

You can also use FreeImage. This is a free tool. I used it to add watermarks to pictures and to resize.

I uploaded all you need for Xbase++ on my site: http://www.aboservice.com/download/imagefree.rar.

Someone made a wrapper for Xbase++. I don't know who did it. All credits are going to him/her.
Best regards,

Chris.
www.aboservice.be

Post Reply