Alaska Software Inc. - Re: Problem saving PNG files on Windows XP
Username: Password:
AuthorTopic: Re: Problem saving PNG files on Windows XP
Andreas Gehrs-Pahl

View the complete thread for this message in:

Re: Problem saving PNG files on Windows XP
on Fri, 27 Feb 2015 14:33:13 -0500
Till,

>I'll create PDR's to document these findings.

Thanks.

>Are these problems urgent for you?

Not really. My workaround is to force the JPG format on Windows XP:

#if XPPVER > 2000500
   if val(OS(OS_VERSION)) < 6 .and. nSaveType == XBPBMP_FORMAT_PNG
      cExtension := 'JPG'
      nSaveType  := XBPBMP_FORMAT_JPG
   endif
#endif

As JPG files (of screen shots) are considerably larger than PNG files, I 
wouldn't mind a different workaround that allows me to convert the bitmap 
some other way to 24 bits, before saving it. But I can live with the above 
workaround for now.

Thanks,

Andreas

Andreas Gehrs-Pahl
Absolute Software, LLC

phone: (989) 723-9927
email: Andreas.GP@Charter.net
web:   http://www.Aerospace-History.net