SuperStrict
'Import BaH.FreeImage
Graphics(800, 600, 32, 2)
Local pixm:TPixmap = LoadPixmap("flip.jpg")
Cls()
DrawPixmap(pixm, 0, 0)
Flip()
While(Not KeyHit(KEY_Escape))
Wend
this crashes if you uncomment FreeImage. Seems to crash on the LoadPixmap(). Happens in 1.05 and 1.06 SVN I just downloaded. (947) in either I can use LoadFreeImage() and then GetPixmap() from the freeImage and it works fine.
Additionally when calling rescale or MakeThumbnail on certain pictures the image gets flipped vertically. Calling ConvertToType(FIT_BITMAP) before scaling prevents the flip. It only happens on a couple pictures (jpgs) out of a bunch I got from one user. If you want to provide an email address I can forward one of the offenders, but I can't post it publicly since I don't have permission.
|