Loading...

Rotate(1) add a bottom black line

Support for GdViewer OCX and GdViewer Pro ActiveX/SDK.

Rotate(1) add a bottom black line

Postby gesteam » Wed Mar 04, 2009 11:09 am

Hi,

I open a file(eurotext.tif of exemples) in gdViewer.
I applie a rotation of 90° with rotate(1) : a black line of 7 pixels is added at the bottom of the picture.
If you rotate(1) 4 times, you get a perfect 7 pixels border ! :D

pictureHdle = oGdViewer.GetNativeImage
oImaging.SetNativeImage pictureHdle
status = oImaging.Rotate(1)
status = oImaging.Rotate(1)
status = oImaging.Rotate(1)
status = oImaging.Rotate(1)
status = oGdViewer.Redraw

Best regards

Thierry
Gesteam
gesteam
 
Posts: 3
Joined: Mon Mar 02, 2009 3:57 pm

Re: Rotate(1) add a bottom black line

Postby Loïc » Thu Mar 05, 2009 8:18 am

Hi,

This bug is already known. If you are using GdPicture Pro a workaround consists to convert to image to 24bpp before applying the rotation.

I'll try to fix this problem for the next releases.

Best regards,

Loïc
Loïc Carrère, support team.
www.orpalis.com
User avatar
Loïc
Site Admin
 
Posts: 4442
Joined: Tue Oct 17, 2006 10:48 pm
Location: France


Return to GdViewer [Pro] ActiveX

Who is online

Users browsing this forum: No registered users and 1 guest