PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → dRotation of Tiff
dRotation of Tiff
Iniciado por guest, 26,feb. 2015 10:54 - No hay respuesta
Publicado el 26,febrero 2015 - 10:54
Hello all,

I am having problems with the dRotation function.

In short:
I am building a scanner application. With use of the Twaintotiff() function i am able to create a tiff variable.
The help explains that a tiff variable acts as an array of images, so it should give no problems with dRotation.

Now my problem:
When I try to rotate a image of the tiff variable using dRotation consisting of 2 or 3 images the rotation fails, if the tiff consists of 1 or 4+ images dRotation doesn't fail.

My code:
Tiff is tiff =....... File is string = "C:......." ImgVoorbeeld is an image control HourGlass() page is int = ImgVoorbeeld..PageNumber dRotation(Tiff[page],90)) dSaveImageTIFF(Tiff,File) ImgVoorbeeld="" ImgVoorbeeld=File ImgVoorbeeld..PageNumber=page Tiff=File HourGlass(False)
Is this problem due to my code? Or is the dRotation function not capable of doing this?

Thanks in advance,
Koen