FreeImage (lib) ImageHeight?

BlitzPlus Forums/BlitzPlus Programming/FreeImage (lib) ImageHeight?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Nevermind, I think I fixed it. The FreeImage.bb I had this in it.

Function SaveTIFF(Image, File$, Compression=TIFF_NONE)

; Compression
; TIFF_PACKBITS = save using PACKBITS compression
; TIFF_DEFLATE = save using DEFLATE compression
; TIFF_ADOBE_DEFLATE = save using ADOBE DEFLATE compression
; TIFF_NONE = save without any compression (DEFAULT)

If Image
FIBITMAP=FIQSend(Image)
Suc=FI_Save(FIF_TARGA,FIBITMAP,File$,Compression)
FI_Unload FIBITMAP
If Not Suc Notify "TIFF Save Failed"+Chr(10)+File$
Else
RuntimeError "Image Instance Not Found (TIFF Save)"
EndIf

End Function


So, I changed the FIF_TARGA to FIF_TIFF and it seemed to have worked.