images.loader: Disable saving a bmp on win32.

This is probably fixable with enough auditing of the gdiplus flat
interface.
flac
Doug Coleman 2020-03-10 03:53:14 -05:00 committed by Steve Ayerhart
parent 4c90482e51
commit fb4550f30c
No known key found for this signature in database
GPG Key ID: 5BFD39C5359E967D
1 changed files with 4 additions and 2 deletions

View File

@ -40,10 +40,12 @@ os { linux windows } member? [
] [ unknown-image-extension? ] recover
] unit-test
! Windows can't save .bmp-files for unknown reason. It can load
! Windows 32 can't save .bmp-files for unknown reason. It can load
! them though.
{ t } [
open-png-image dup "bmp" convert-to =
64bit? [
open-png-image dup "bmp" convert-to =
] when
] unit-test
{ t } [