log tools/libgfx.c @ 2572:92b93a12c014

age author description
Thu, 10 Mar 2022 22:36:48 +0200 Matti Hamalainen Make some casts explicit instead of implicit, fixes some -pedantic warnings.
Sat, 02 Jan 2021 11:42:17 +0200 Matti Hamalainen Bump copyright years.
Thu, 16 Apr 2020 15:00:18 +0300 Matti Hamalainen Move dmCompareColor() from libgfx to gfxconv as it is used only there,
Wed, 15 Apr 2020 15:10:18 +0300 Matti Hamalainen Add few comments.
Mon, 13 Jan 2020 23:27:01 +0200 Matti Hamalainen Remove useless dmMemset().
Thu, 09 Jan 2020 20:54:57 +0200 Matti Hamalainen Add new DM_PRI*_OFF_T specifiers for off_t type.
Thu, 09 Jan 2020 15:20:23 +0200 Matti Hamalainen Fix some format strings to use proper PRI*_SIZE_T where necessary.
Wed, 08 Jan 2020 00:20:55 +0200 Matti Hamalainen Bump copyright years.
Mon, 16 Sep 2019 10:38:33 +0300 Matti Hamalainen Fix setjmp() warning.
Tue, 09 Jul 2019 10:27:40 +0300 Matti Hamalainen Bump copyright.
Sun, 16 Jun 2019 22:33:05 +0300 Matti Hamalainen Check image dimensions when loading PPM/PNG/PCX/IFF images.
Fri, 14 Jun 2019 08:33:18 +0300 Matti Hamalainen Set PCX header palette information correctly for grayscale data images.
Fri, 14 Jun 2019 08:17:00 +0300 Matti Hamalainen Cleanups.
Fri, 14 Jun 2019 05:58:30 +0300 Matti Hamalainen Force non-planar for PPM output.
Fri, 14 Jun 2019 05:41:46 +0300 Matti Hamalainen Silence a unused function argument warning.
Fri, 14 Jun 2019 05:32:58 +0300 Matti Hamalainen Add support for 'raw' 768 byte palette files.
Fri, 14 Jun 2019 05:01:12 +0300 Matti Hamalainen Revamp the palette handling in lib64gfx somewhat, add helper functions to
Fri, 14 Jun 2019 03:28:46 +0300 Matti Hamalainen Add functionality for separate palette file handling, reading, writing and
Fri, 14 Jun 2019 01:56:47 +0300 Matti Hamalainen Comments and cosmetics.
Tue, 04 Jun 2019 16:27:09 +0300 Matti Hamalainen Rename DM_COLFMT_* constants to DM_PIXFMT_* and the 'format' field of DMImage
Tue, 04 Jun 2019 16:18:41 +0300 Matti Hamalainen Rename DMImageConvSpec to DMImageWriteSpec to better reflec the struct's purpose.
Tue, 04 Jun 2019 15:56:10 +0300 Matti Hamalainen Add check to PNG and PPM output as well.
Tue, 04 Jun 2019 15:44:49 +0300 Matti Hamalainen Fix IFF and PCX checks for non-indexed images.
Sun, 02 Jun 2019 21:21:35 +0300 Matti Hamalainen Write ARAW palette only if it exists.
Wed, 06 Mar 2019 10:00:03 +0200 Matti Hamalainen Improve PPM/PGM/PNM probing and header parsing.
Tue, 05 Mar 2019 15:09:18 +0200 Matti Hamalainen Add dmGetNPlanesFromNColors() and use it.
Tue, 05 Mar 2019 12:14:31 +0200 Matti Hamalainen Support grayscale output.
Tue, 05 Mar 2019 10:32:28 +0200 Matti Hamalainen Improve PPM/PNM/PGM probing.
Tue, 05 Mar 2019 09:57:32 +0200 Matti Hamalainen Mark image format flags with the color formats they support.
Tue, 05 Mar 2019 09:56:47 +0200 Matti Hamalainen Revamp how the DMImage palette system and color formats work, as preparation
Thu, 28 Feb 2019 12:32:07 +0200 Matti Hamalainen Some work on reading >8bpp images.
Thu, 28 Feb 2019 12:30:21 +0200 Matti Hamalainen Initial support for reading PPM/PGM.
Thu, 28 Feb 2019 12:18:27 +0200 Matti Hamalainen Cleanups.
Thu, 13 Dec 2018 15:54:09 +0200 Matti Hamalainen Implement dmGetBits() to the DMBitStreamContext API. Also improve error handling.
Tue, 11 Dec 2018 15:17:40 +0200 Matti Hamalainen Cosmetic.
Tue, 11 Dec 2018 15:17:32 +0200 Matti Hamalainen Simplify dmPutBits() call in dmWriteRAWRow().
Tue, 11 Dec 2018 15:16:06 +0200 Matti Hamalainen Return DMERR_OK where appropriate instead of 0.
Mon, 10 Dec 2018 20:48:46 +0200 Matti Hamalainen Fix plane buffer size calculation for IFF ACBM to round up to nearest byte (minimum of 1).
Mon, 10 Dec 2018 20:35:18 +0200 Matti Hamalainen Initialize the destination image data in case of IFF ACBM loading.
Mon, 10 Dec 2018 15:41:58 +0200 Matti Hamalainen Be more informative when attempting to figure out broken PCX file.
Wed, 05 Dec 2018 16:47:59 +0200 Matti Hamalainen s/"lbm"/"ilbm"/
Wed, 05 Dec 2018 14:41:19 +0200 Matti Hamalainen Fixes to ACBM support.
Wed, 05 Dec 2018 13:38:53 +0200 Matti Hamalainen Improve IFF probing.
Wed, 05 Dec 2018 13:33:45 +0200 Matti Hamalainen Fix hardcoding in ACBM decoding.
Wed, 05 Dec 2018 13:33:03 +0200 Matti Hamalainen Refactor how paletted/indexed formats are handled in libgfx.
Wed, 05 Dec 2018 13:31:59 +0200 Matti Hamalainen Separate ILBM and PBM subformats of IFF images.
Wed, 05 Dec 2018 12:54:28 +0200 Matti Hamalainen Improve IFF probing.
Tue, 04 Dec 2018 19:05:33 +0200 Matti Hamalainen Correct description of 'cdump' format.
Tue, 04 Dec 2018 10:33:06 +0200 Matti Hamalainen Make two functions static and one not.
Tue, 04 Dec 2018 09:55:24 +0200 Matti Hamalainen Remove unused struct member.
Mon, 03 Dec 2018 23:05:58 +0200 Matti Hamalainen Implement basic initial support for IFF ACBM format images.
Mon, 03 Dec 2018 19:01:07 +0200 Matti Hamalainen Fixes to the ByteRun1 encoder. Could use some cleanups now, tho.
Mon, 03 Dec 2018 18:58:45 +0200 Matti Hamalainen Improve the cdump output format support of gfxconv. Also add some error handling.
Mon, 03 Dec 2018 15:22:11 +0200 Matti Hamalainen Add 'cdump' image output format, mainly for debugging purposes.
Fri, 26 Oct 2018 09:56:25 +0300 Matti Hamalainen Force 8 bitplanes for IFF PBM images.
Fri, 26 Oct 2018 09:54:51 +0300 Matti Hamalainen Make a internal copy of the const DMImageConvSpec in dmWriteIFFImage().
Thu, 25 Oct 2018 19:21:33 +0300 Matti Hamalainen Be more informative about the actual sub-format of the IFF image (PBM/ILBM).
Thu, 25 Oct 2018 19:07:00 +0300 Matti Hamalainen Add option -C for controlling output file compression (PNG and IFF for now) in gfxconv.
Thu, 25 Oct 2018 18:47:10 +0300 Matti Hamalainen Fix IFF chunk padding.
Thu, 25 Oct 2018 17:45:38 +0300 Matti Hamalainen Check for NULL pointer.
Fri, 31 Aug 2018 17:31:54 +0300 Matti Hamalainen Cleanup.
Fri, 29 Jun 2018 19:32:50 +0300 Matti Hamalainen Check that we have a CMAP/palette for IFF images that should have it.
Fri, 29 Jun 2018 02:02:42 +0300 Matti Hamalainen Better fix for the PNG reader memory leak.
Fri, 29 Jun 2018 01:13:19 +0300 Matti Hamalainen Do not reference uninitialized value in IFF writer, although in this case
Fri, 29 Jun 2018 00:28:17 +0300 Matti Hamalainen Initialize two variables to zero, as valgrind complains about them despite
Fri, 29 Jun 2018 00:27:42 +0300 Matti Hamalainen Cleanup.
Fri, 29 Jun 2018 00:27:34 +0300 Matti Hamalainen Fix two memory leaks in the PNG writer/reader of libgfx.
Wed, 27 Jun 2018 19:13:36 +0300 Matti Hamalainen Cosmetics.
Wed, 27 Jun 2018 19:13:24 +0300 Matti Hamalainen Define variable at start of block.
Tue, 26 Jun 2018 16:55:27 +0300 Matti Hamalainen Fix certain corner case in IFF ByteRun1 encoder.
Tue, 26 Jun 2018 16:49:03 +0300 Matti Hamalainen Add some more informative messages in IFF loader.
Tue, 26 Jun 2018 15:13:07 +0300 Matti Hamalainen Use a consistent message between IFF encoding and decoding.
Tue, 26 Jun 2018 15:12:11 +0300 Matti Hamalainen Don't use signed arithmatic in IFF ByteRun1 decoder.
Tue, 26 Jun 2018 13:22:20 +0300 Matti Hamalainen Cleanup IFF writer a bit.
Tue, 26 Jun 2018 13:01:25 +0300 Matti Hamalainen Cleanups.
Tue, 26 Jun 2018 12:20:08 +0300 Matti Hamalainen Cleanups.
Tue, 26 Jun 2018 05:03:55 +0300 Matti Hamalainen Fix uneven chunk size handling in IFF reader.
Tue, 26 Jun 2018 04:46:49 +0300 Matti Hamalainen Fix IFF chunk padding.
Tue, 26 Jun 2018 04:31:39 +0300 Matti Hamalainen Cleanups.
Tue, 26 Jun 2018 04:31:24 +0300 Matti Hamalainen Fix planar IFF ILBM writing.
Tue, 26 Jun 2018 03:13:38 +0300 Matti Hamalainen Work begins on IFF ILBM/PBM image writer. It is pretty broken, some things
Tue, 26 Jun 2018 03:09:01 +0300 Matti Hamalainen Clean up the IFF reader and make it more robust.
Tue, 26 Jun 2018 03:07:58 +0300 Matti Hamalainen Bump copyright year.
Mon, 25 Jun 2018 19:36:26 +0300 Matti Hamalainen Rename ILBM functions to IFF, which is more approriate as we support both ILBM and PBM variants of the IFF images.
Mon, 25 Jun 2018 14:04:06 +0300 Matti Hamalainen Return DMERR_OK instead of dmferror(fp) dmWriteIFFMasterRAWHeader().
Mon, 25 Jun 2018 13:52:20 +0300 Matti Hamalainen Remove the stdio FILE support from libgfx API, now only DMResource is supported.
Mon, 25 Jun 2018 13:00:40 +0300 Matti Hamalainen Move dmresw function declarations to dmres.h
Sun, 24 Jun 2018 19:07:43 +0300 Matti Hamalainen Actually fix also the ARAW/RAW image data writing to honor the scaling.
Thu, 21 Jun 2018 17:22:32 +0300 Matti Hamalainen Use dmMemset() instead of memset().
Thu, 21 Jun 2018 13:00:24 +0300 Matti Hamalainen Various cleanups.
Thu, 21 Jun 2018 11:13:19 +0300 Matti Hamalainen Move idILBM variable to DMIFF struct.
Thu, 14 Jun 2018 12:58:44 +0300 Matti Hamalainen s/DM_IFMT_/DM_COLFMT_/g
Thu, 14 Jun 2018 12:42:29 +0300 Matti Hamalainen Fix checks for NULL palette in index/palette images. Also improve error
Fri, 08 Jun 2018 22:03:19 +0300 Matti Hamalainen Use the default C64 palette whenever we need it, but make it possible to override it.
Tue, 05 Jun 2018 12:56:23 +0300 Matti Hamalainen Use img->ctransp for IFF ILBM mask, if set.
Thu, 31 May 2018 13:32:26 +0300 Matti Hamalainen Adjust ILBM loader to show BMHD data at lower verbosity level.
Wed, 30 May 2018 14:45:14 +0300 Matti Hamalainen Micro-optimization.
Wed, 30 May 2018 13:53:57 +0300 Matti Hamalainen Rename function argument.
Wed, 30 May 2018 13:48:27 +0300 Matti Hamalainen Split IFF chunk id string from id creation into separate function.
Wed, 30 May 2018 13:21:14 +0300 Matti Hamalainen Get rid of a basically redundant function in IFF reader.
Wed, 30 May 2018 13:20:40 +0300 Matti Hamalainen Cleanups.
Wed, 30 May 2018 12:41:31 +0300 Matti Hamalainen Improve IFF reader error handling.
Mon, 28 May 2018 15:17:44 +0300 Matti Hamalainen Return actual error code instead of forcing DMERR_FOPEN.
Wed, 16 May 2018 15:42:24 +0300 Matti Hamalainen Add image aspect ratio information.
Wed, 16 May 2018 15:15:39 +0300 Matti Hamalainen Cleanup.
Wed, 16 May 2018 15:04:38 +0300 Matti Hamalainen Remove some code duplication.
Wed, 16 May 2018 14:44:49 +0300 Matti Hamalainen Print an error/warning about PBM files that have half-brite set.
Wed, 16 May 2018 14:38:10 +0300 Matti Hamalainen Remove unused message argument.
Wed, 16 May 2018 13:53:44 +0300 Matti Hamalainen fext =~ s/lbm/ilbm/
Wed, 16 May 2018 13:49:40 +0300 Matti Hamalainen Cleanups.
Wed, 16 May 2018 13:42:40 +0300 Matti Hamalainen Fix a comment.
Wed, 16 May 2018 13:40:37 +0300 Matti Hamalainen Rename dmReadIFFChunk() to dmReadIFFChunkHdr().
Wed, 16 May 2018 13:22:29 +0300 Matti Hamalainen Remove slight code duplication.
Wed, 16 May 2018 13:19:26 +0300 Matti Hamalainen Cleanup.
Tue, 15 May 2018 14:29:32 +0300 Matti Hamalainen Refactor the format handling a bit.
Tue, 15 May 2018 12:38:55 +0300 Matti Hamalainen Constify.
Tue, 15 May 2018 12:35:55 +0300 Matti Hamalainen Cleanup.
Tue, 15 May 2018 12:30:29 +0300 Matti Hamalainen Move format probe functions near to their other functions.
Mon, 14 May 2018 12:42:24 +0300 Matti Hamalainen Convert libgfx file format routines to use DMResource instead of stdio FILE.
Mon, 14 May 2018 00:09:36 +0300 Matti Hamalainen Cleanup.