Hi !
i need some help to use BitMapExtended...
Could you post some code sample to show me how to save the final file...
... i've a 0 bytes final.jpg file !
many thanks !
i need some help to use BitMapExtended...
Could you post some code sample to show me how to save the final file...
... i've a 0 bytes final.jpg file !
many thanks !
B4X:
Dim BitMap_Source As Bitmap
Dim BitMap_Travail As BitmapExtended
...
Out = File.OpenOutput (Chemin_clef, "final.jpg", False)
BitMap_Source = LoadBitmapSample(Chemin_clef, "initial.jpg", 1280,1280)
BitMap_Source = BitMap_Travail.rotateBitmap (BitMap_Source, 90)
BitMap_Travail.compress (BitMap_Source, "JPEG", 100, Out)
Out.Close