| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
forgot to include setjmp.h. also correct the malloc error-messageSmall
|
|
|
|
|
| |
As known from sbase, we want to manually flush stdout to see if all
data has been passed on.
|
| |
|
|
|
|
|
| |
Use the arpa/inet.h conversion functions which are standardized
in POSIX.
|
|
|
|
| |
Thanks Heiko ("rundstutzen") for reporting this!
|
|
|
|
| |
No need for this when the tools don't accept arguments.
|
| |
|
|
- 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.
|