Page 1 of 1

Xbrowse or Ximage Load picture position not work

PostPosted: Sat Jun 20, 2020 9:49 am
by richard-service
Hi
This is original pictures from DR Clinic.
Image

I use any read picture program and show picture position work fine below:
Image

I use Xbrowse cell include picture or XBrowse+Ximage show pictures.
These pictures position always Rotate. But original picture Front.
Image

if I save as BMP file style. it's work fine. But I can't call my DR customer do it.

Any solutions?

Re: Xbrowse or Ximage Load picture position not work

PostPosted: Sat Jun 20, 2020 10:36 am
by cnavarro
Try with FW_TransformBitmap( hBitmap, [aCrop], [nZoom], [nRotate] )

Re: Xbrowse or Ximage Load picture position not work

PostPosted: Sat Jun 20, 2020 11:08 am
by richard-service
cnavarro wrote:Try with FW_TransformBitmap( hBitmap, [aCrop], [nZoom], [nRotate] )


This function mean save as BMP file?
If yes, I just want to read original file not save as file.

Re: Xbrowse or Ximage Load picture position not work

PostPosted: Sat Jun 20, 2020 4:17 pm
by nageswaragunupudi
If you do not have any objection, can you send me one jpg file?

Re: Xbrowse or Ximage Load picture position not work

PostPosted: Sat Jun 20, 2020 6:37 pm
by richard-service
nageswaragunupudi wrote:If you do not have any objection, can you send me one jpg file?

Yes, I already send to you. Please check your mail box.

Re: Xbrowse or Ximage Load picture position not work

PostPosted: Sun Jun 21, 2020 2:53 pm
by nageswaragunupudi
Sorry, I did not receive.
Please send to
nageswaragunupudi [at] gmail [dot] com

Re: Xbrowse or Ximage Load picture position not work

PostPosted: Sun Jun 21, 2020 4:53 pm
by richard-service
nageswaragunupudi wrote:Sorry, I did not receive.
Please send to
nageswaragunupudi [at] gmail [dot] com


Please check your mail.

Re: Xbrowse or Ximage Load picture position not work

PostPosted: Thu Jul 02, 2020 2:27 am
by richard-service
nageswaragunupudi wrote:Sorry, I did not receive.
Please send to
nageswaragunupudi [at] gmail [dot] com


Mr.Rao

Any news for it?

Re: Xbrowse or Ximage Load picture position not work

PostPosted: Thu Jul 02, 2020 2:29 am
by richard-service
Hi

FW or [x]Harbour any function to know this picture is turning?

Re: Xbrowse or Ximage Load picture position not work

PostPosted: Thu Jul 02, 2020 3:23 am
by nageswaragunupudi
I am unable to explain why all of Windows explorer, pain, photos are displaying the image upright whereas gdi+ and freeimage.dll are reading them rotated.

In the ximage01.prg
please try to replace
Code: Select all  Expand view
     :bChange       := { || oImage:Refresh() }
 


with
Code: Select all  Expand view
     :bChange       := { || oImage:Refresh(), oImage:Rotate( 45 ) }
 

Re: Xbrowse or Ximage Load picture position not work

PostPosted: Thu Jul 02, 2020 9:39 am
by richard-service
nageswaragunupudi wrote:I am unable to explain why all of Windows explorer, pain, photos are displaying the image upright whereas gdi+ and freeimage.dll are reading them rotated.

In the ximage01.prg
please try to replace
Code: Select all  Expand view
     :bChange       := { || oImage:Refresh() }
 


with
Code: Select all  Expand view
     :bChange       := { || oImage:Refresh(), oImage:Rotate( 45 ) }
 


Mr.Rao
Thanks a lot.