[racket] Slideshow could not load big PNG

From: ironson (ironson at 126.com)
Date: Thu Sep 19 05:24:02 EDT 2013

Hi,

I want to display a PNG image in Slideshow. But it only shows me "bitmap failed".
I tried with a smaller PNG image. It works.

The bigger PNG is 4958 x 7017, file size is 200 KB.
The smaller PNG is 1800 x 600, file size is 18.2 KB.

Is there some limitation of the "bitmap" procedure in "slideshow" language?

I guess I could scale my bigger PNG file to a smaller dimension in an image editor like Photoshop and load it successfully. But this is not convenient. Could somebody tell me a better way to work around this? Thanks very much!

My code:

(slide (bitmap "print_example_asn.png"))

2013-09-19



ironson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20130919/9ee6503d/attachment.html>

Posted on the users mailing list.