[SDL] Dumping a SDL_Surface to a file?
Johan Persson
tokikenshi at fish.co.jp
Tue Feb 18 11:17:00 PST 2003
>On Tue, Feb 18, 2003 at 01:42:01AM +0100, Daniel Phillips wrote:
>> int write_png(char *file_name, png_bytep *rows, int w, int h, int colortype, int bitdepth)
>
>"file_name" and "rows" should be declared const.
>
>Making a wrapper for SDL surfaces would be useful, especially if it was
>included in SDL_image. It'd take work to make it generic, though (eg.
>palettes, etc).
>
>--
>Glenn Maynard
>
I'll check the SDL_image source. Anyway, I found a way around the problem. Thanks for the help! :)
:^)v"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
+---------+ * Get your own Jmail account.|URL= http://www.jmail.co.jp
|--jmail--| * Get your own home page. |URL= http://www.servance.jp
+---------+ * Get your own domain. |URL= http://domaintorou.com
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""v(^:
More information about the SDL
mailing list