summaryrefslogtreecommitdiff
path: root/ff2png.c
Commit message (Collapse)AuthorAge
* Improve error-handling in the toolsFRIGN2016-01-06
| | | | | | | | | | | | We don't need the jumps, but rather pass a nice function pointer to libpng. The jump in libjpg was also useless. We check each fwrite-call so there's an early bailout in case the output file is full. Flushing at the end worked as well, but it took too long for complex images. We don't want to "block" a pipe here and the approach in jpg2ff was better. The iHDR-read was useless. Rather use the get*-functions in libpng, saves us 2 local variables as well.
* Small changes in the png-utilsFRIGN2016-01-06
| | | | forgot to include setjmp.h. also correct the malloc error-messageSmall
* Add stricter and clearer error-checking in png2ff and ff2pngFRIGN2016-01-04
| | | | | As known from sbase, we want to manually flush stdout to see if all data has been passed on.
* ff2png: Export 16-Bit RGBA PNG's so we don't lose dataFRIGN2016-01-04
|
* Avoid using the non-portable endian.h conversion functionssin2015-11-17
| | | | | Use the arpa/inet.h conversion functions which are standardized in POSIX.
* Add _BSD_SOURCE for endian.hFRIGN2015-11-13
| | | | Thanks Heiko ("rundstutzen") for reporting this!
* Remove arg.hFRIGN2015-11-10
| | | | No need for this when the tools don't accept arguments.
* Fix 16-bit RGB-expands and header-endianness properlyFRIGN2015-11-10
|
* imagefile -> farbfeldFRIGN2015-11-09
- Rename the format - Change the format specification - Drop old tools waiting to be fixed on a later date, just keep fixed png for now - Simplify other stuff This is a direct consequence of my slcon2-talk on this topic. At first I planned to have 64 bits per channel, but this is overkill.