The companion library of cSDL to import and manage images in various files formats (including PNG en JPG)
Go to file
Sylvain PILLOT c5b048c7d2 All verifications done with fxSDK 2.9.2 : OK 2022-08-30 15:31:31 +02:00
SDL added support for JPEG images 2022-05-08 20:17:39 +02:00
cmake All verifications done with fxSDK 2.9.2 : OK 2022-08-30 15:31:31 +02:00
.gitignore updated all cmake configuration files 2022-08-30 12:51:49 +02:00
CMakeLists.txt updated all cmake configuration files 2022-08-30 12:51:49 +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
README.md update README.md 2022-08-30 13:05:31 +02:00
giteapc.make updated all cmake configuration files 2022-08-30 12:51:49 +02:00

README.md

Simple DirectMedia Layer SDL sublibrary SDL_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

You can use the giteapc install Slyvtt/cSDL_image command to get an automatic install

Using in a program

With CMake

find_package(cSDL_image 1.2.12 REQUIRED)
target_link_libraries(<TARGET> PRIVATE cSDL_image::cSDL_image)

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

  • copy the library libcSDL_image.a into your SH3/SH4 compiler lib folder
  • copy all header files *.h in the include folder include/SDL of the SH3/SH4 compiler
  • link with -lcSDL_image

In the C/C++ sources #include <SDL/SDL_image.h>