loaders: Implement Write() instead of Save()
commit3568538bbc1602c05313b9224c1884a42a411ad6
authorCyril Hrubis <metan@ucw.cz>
Sun, 15 Jun 2014 17:05:29 +0000 (15 19:05 +0200)
committerCyril Hrubis <metan@ucw.cz>
Sun, 15 Jun 2014 20:43:41 +0000 (15 22:43 +0200)
tree5440b11d4be22f7c5e5a041b94674aedfac2b29c
parent983c8bab63c33eef9e7de3278cd5a8329486ab93
loaders: Implement Write() instead of Save()

This change implements Write() functions instead of the Save() functions
for all loaders and removes Write() callback from GP_Loader structure.

It also adds a generic GP_LoaderSaveImage() function and bunch of
GP_WriteFOO() functions.

Signed-off-by: Cyril Hrubis <metan@ucw.cz>
13 files changed:
build/syms/Loaders_symbols.txt
demos/c_simple/loaders_register.c
include/loaders/GP_JPG.h
include/loaders/GP_Loader.h
include/loaders/GP_PNG.h
include/loaders/GP_PNM.h
include/loaders/GP_TIFF.h
libs/loaders/GP_BMP.c
libs/loaders/GP_JPG.c
libs/loaders/GP_Loader.c
libs/loaders/GP_PNG.c
libs/loaders/GP_PNM.c
libs/loaders/GP_TIFF.c