The companion library of cSDL to import and manage images in various files formats (including PNG en JPG)
Go to file
Sylvain PILLOT 5a848275de added support for JPEG images 2022-05-08 20:17:39 +02:00
SDL added support for JPEG images 2022-05-08 20:17:39 +02:00
cmake making giteapc compatibility 2022-05-05 22:05:33 +02:00
CMakeLists.txt making giteapc compatibility 2022-05-05 22:05:33 +02:00
IMG.c making giteapc compatibility 2022-05-05 22:05:33 +02:00
IMG_bmp.c rev 1.0 of the lib - now working 2022-05-03 23:22:22 +02:00
IMG_gif.c initial commit - not working 2022-05-03 21:56:41 +02:00
IMG_jpg.c added support for JPEG images 2022-05-08 20:17:39 +02:00
IMG_lbm.c initial commit - not working 2022-05-03 21:56:41 +02:00
IMG_pcx.c initial commit - not working 2022-05-03 21:56:41 +02:00
IMG_png.c initial commit - not working 2022-05-03 21:56:41 +02:00
IMG_pnm.c initial commit - not working 2022-05-03 21:56:41 +02:00
IMG_tga.c initial commit - not working 2022-05-03 21:56:41 +02:00
IMG_tif.c initial commit - not working 2022-05-03 21:56:41 +02:00
IMG_webp.c initial commit - not working 2022-05-03 21:56:41 +02:00
IMG_xcf.c initial commit - not working 2022-05-03 21:56:41 +02:00
IMG_xpm.c initial commit - not working 2022-05-03 21:56:41 +02:00
IMG_xv.c initial commit - not working 2022-05-03 21:56:41 +02:00
IMG_xxx.c initial commit - not working 2022-05-03 21:56:41 +02:00
Makefile.prizm added support for JPEG images 2022-05-08 20:17:39 +02:00
README.md making giteapc compatibility 2022-05-05 22:05:33 +02:00
build initial commit - not working 2022-05-03 21:56:41 +02:00
cSDL_image1_2_12.cbp initial commit - not working 2022-05-03 21:56:41 +02:00
cSDL_image1_2_12.layout making giteapc compatibility 2022-05-05 22:05:33 +02:00
giteapc.make making giteapc compatibility 2022-05-05 22:05:33 +02:00

README.md

libSDL_image 1.2.12 repository for CASIO fx-CG 10/20 (a.k.a. PRIZM) and fx-CG 50 (or Graph 90+E)

Need to have a fully working gcc toolchain for SH3/SH4 architecture, such as fxSDK

Note: libSDL_image is configured to support PNG, so you need to have :

  • a working libPNG, see here : libPNG for PRIZM,
  • and also requires Zlib available, so the very first step is to get these libraries available and working prior to libPNG. You can get a working Zlib for CASIO fx-CG 10/20 (a.k.a. PRIZM) and fx-CG 50 (or Graph 90+E) here : libZlib for PRIZM.
  • and a working copy of SDL 1.2 that you can get here : libSDL for PRIZM

Automatic installation using giteapc

You can also use the gitea install Slyvtt/cSDL_image1_2_12 command to get an automatic install

when you compile a program for use with libSDL_image, do not forget to add a -lSDL_image_prizm -lcPNG -lczlib -lSDL_prizm option in your compilator command line.

and then a #include <SDL/SDL_image.h> in your C/C++ sources

Manual compilation using a Makefile

Compilation is done by using the adhoc Makefile : make -f Makefile.prizm in the main directory

It should produce the library libSDL_image_prizm.a and copy everything in the right place.

The following steps are not automatically done, so please proceed with the following manipulations :

  • copy the library libSDL_image_prizm.a into your SH3/SH4 compiler lib folder
  • copy SDL_image.h file contained in the SDL/ folder into the include/SDL folder of the SH3/SH4 compiler