210 Commits

Author SHA1 Message Date
Adrien Destugues
32ec828835 Group all copyright statements in a single file.
This gives a much clearer overview of the licensing.

It also shows there are some problems:
- Some files are under GPLv3 only
- Some files have no known license at all.
2020-12-19 21:56:33 +00:00
Thomas Bernard
d24c3e2ebc Warning() => GFX2_Log() 2020-05-14 00:19:02 +02:00
Thomas Bernard
2c9b79a6af
Warning() => GFX2_Log(GFX2_WARNING) 2020-04-13 01:34:12 +02:00
Thomas Bernard
550da692f8
move GIF to giformat.c 2020-01-18 00:42:59 +01:00
Thomas Bernard
7f91480dbb
Pre_load() sets context->Width & context->Height 2020-01-18 00:11:56 +01:00
Thomas Bernard
be68b498ac ifformat.c: fix build under WIN32 2019-12-07 17:09:21 +01:00
Thomas Bernard
90c0fb6ea6
IFF (ILBM/PBM/ACBM) => ifformat.c 2019-12-07 16:57:02 +01:00
Thomas Bernard
556849e268 fix compilation of pngformats.c under FreeMint 2019-12-07 16:18:03 +01:00
Thomas Bernard
7ae15c6e37
move Load_PNG/Save_PNG/etc to pngformat.c 2019-12-07 15:10:43 +01:00
Thomas Bernard
bbeba1acf8 translate comments to english 2019-12-07 14:45:47 +01:00
Thomas Bernard
bcbedab22d
packbits optimization #2 2019-12-07 14:08:47 +01:00
Thomas Bernard
de15e1036f
packbits optimization #1 2019-12-07 14:08:47 +01:00
Thomas Bernard
3ba4472626
add Test_Packbits() 2019-11-19 22:26:03 +01:00
Thomas Bernard
d5953ad51a
move some functions from loadsave.c to loadsavefuncs.c 2019-11-09 02:42:33 +01:00
Thomas Bernard
21f815e2cd fix loading of some palette and gray PNGs
also fix log
2019-07-02 00:20:07 +02:00
Thomas Bernard
1f6ceeaa3a
support libpng compiled without iTXt support 2019-06-29 11:06:07 +02:00
Thomas Bernard
836ad157fa Load_PNG(): add debug messages and code comments 2019-06-29 10:25:57 +02:00
Thomas Bernard
a59aab8a31 Fix loading of Grayscale + Alpha PNG's 2019-06-29 10:25:17 +02:00
Thomas Bernard
b4abb9edff SaveGIF(): remove compilation warning 2019-06-29 10:24:29 +02:00
Thomas Bernard
41e25d2204
Save_IFF(): save CAMG chunk and detect EHB
Extra Half Bright

see http://pulkomandy.tk/projects/GrafX2/ticket/134
2019-06-09 02:03:13 +02:00
Thomas Bernard
0d821b178b
LoadIFF(): debug output about DPI and CAMG 2019-06-09 02:02:48 +02:00
Thomas Bernard
24bcf17ceb check error in Load_GIF() 2019-06-01 13:32:28 +02:00
Thomas Bernard
2680ee40a0
Save_GIF(): fix update of nb_bits after writing last code
fixes http://pulkomandy.tk/projects/GrafX2/ticket/125
2019-05-30 09:07:59 +02:00
Thomas Bernard
9886872c8a
T_IO_Context Original_file_name and Original_file_directory are now dynamically allocated 2019-05-07 17:25:17 +02:00
Thomas Bernard
8614490026
add debug message for IFF bit depth saving 2019-05-02 15:45:14 +02:00
Thomas Bernard
760cd0d960
SCx: Doxygen + fix of file extension selection 2019-02-20 12:04:48 +01:00
Thomas Bernard
bc4c2db2e4
Fix Load_SCx / Save_SCx 2019-02-20 11:11:19 +01:00
Thomas Bernard
12f15c231f
Load_ICO() Fix mask passed to Load_BMP()
it has 4 elements : RGBA.
2019-02-15 13:19:40 +01:00
Thomas Bernard
0746ee8963
fix Load_INFO() 2019-02-15 13:19:40 +01:00
Nic Soudée
228e651b4f Correct some spelling mistakes
Automaticaly --> Automatically
Invalide --> Invalid
Strech --> Stretch
allows to --> allows one to
attachement --> attachment
contraints --> constraints
inconsistant --> inconsistent
occured --> occurred
occurences --> occurrences
permits to --> permits one to
postion --> position
regularily --> regularly
transfered --> transferred
2019-01-24 08:32:58 -05:00
Thomas Bernard
5f9be332b4
Save_PNG_Sub(): add assert to check function arguments 2019-01-21 13:05:41 +01:00
Thomas Bernard
119618ae14
Save_PNG_Sub(): fix PNG saving
see http://pulkomandy.tk/projects/GrafX2/ticket/96
2019-01-21 13:05:41 +01:00
Thomas Bernard
0aca83d029
doxygen for T_BMP_Header + remove commented code in Test_BMP() 2019-01-09 09:47:01 +01:00
Thomas Bernard
dcfd0894e0 add support for PNG in BMP (BI_PNG) 2019-01-08 22:09:12 +01:00
Thomas Bernard
f35c6007c0
Simplify Load_BMP_Image() 2019-01-08 22:08:42 +01:00
Thomas Bernard
0b45bc5fc6
BMP: support bitmask of more than 8 bits 2019-01-08 22:06:31 +01:00
Thomas Bernard
51f90c7ec0
BMP: support OS/2 v2 format, enforce pixel ratio, check palette over-size 2019-01-08 21:20:56 +01:00
Thomas Bernard
55dadae79d
Reorganize Load_BMP() 2019-01-08 21:20:55 +01:00
Thomas Bernard
71d1089442
BMP: improve log and comments. support BITMAPV4HEADER/BITMAPV5HEADER 2019-01-08 21:20:55 +01:00
Thomas Bernard
fa90928a50
improve PNG doxygen 2019-01-02 01:42:54 +01:00
Thomas Bernard
3e1d6b165d
Copy support for X11 2019-01-02 01:27:27 +01:00
Thomas Bernard
7331ad9bdf
X11 picture paste support (PNG format)
works with what GIMP puts in the X11 CLIPBOARD
2018-12-30 10:20:50 +01:00
Thomas Bernard
3bfa777d23
Load_GIF(): more error detection 2018-12-17 22:02:13 +01:00
Thomas Bernard
2d45c5e68b
Load_GIF() use "stop" for detecting end of image as well 2018-12-17 22:02:12 +01:00
Thomas Bernard
8691554a26
Save_GIF(): update/translate comment about the last code 2018-12-17 22:02:12 +01:00
Thomas Bernard
3a33c96dd5
Translate/doxygenize T_GIF_context comments 2018-12-17 22:02:08 +01:00
Thomas Bernard
a899fe49fb remove global variables used for GIF 2018-12-17 19:42:14 +01:00
Thomas Bernard
5a6333e5e8 define COLOR_CYCLING_SPEED_MAX 2018-12-15 20:19:29 +01:00
Thomas Bernard
7a8b25ea4f
Load_IFF() support CCRT color range chunck and read DRNG (but not implemented) 2018-12-14 15:56:47 +01:00
Thomas Bernard
c86babeb35
Load_IFF() support for ANIM with sound chunks 2018-12-14 15:54:45 +01:00