16 Commits

Author SHA1 Message Date
Jeremy Sarda df174bbadd Added explicite import of CoreGraphics to build successfully. 2025-10-28 09:30:37 -07:00
DreamPiggy ac30d6d2e0 Fix the WebP decoding failure on macOS 10.14 because of wrong bitmapInfo to generate CGImage 2019-03-17 17:54:02 +08:00
Nyx0uf 16bf701b09 dpi 2018-12-19 19:17:54 +01:00
Saagar Jha 16bbccf245 Add support for comments in PPM/PBM files
The PBM standard allows for comments in PPM/PBM files: http://netpbm.sourceforge.net/doc/pbm.html; this commit adds support for these instead of just buffer overrunning.
2017-03-20 21:30:21 -07:00
Benj 5082c4f0d4 correctly handle very large WebP files
This uses the incremental WebP decoder to circumvent the hard limit of
120MB for a QL plugin.

Fixes #18
2017-02-21 10:11:15 +01:00
Benj 6b55cd23d3 bpg: add NULL check 2017-02-21 09:57:25 +01:00
Benj 24be188dbd Fix web decoding for large files
Can help for #18

But apparently there is a memory limit of 120MB for QL plugins as this
log implies :
`[QL] Using too much memory (336 MB), hit critical threshold (120 MB),
exiting immediately to clean up.`
2017-02-20 15:59:38 +01:00
Benj a639d495c7 Update min version to 10.11
- OS X 10.9 users can upgrade to 10.11.

- Drop netpbm code, 10.11+ support it natively now.

- Refactor code to make webp / netpbm / bpg optionals
2016-09-12 13:00:08 +02:00
Benj e6abaa41bf add a SAFE_CFRelease macro 2016-07-20 11:43:11 +02:00
Nyx0uf 114e592a53 tabs. 2015-06-02 19:18:44 +02:00
Nyx0uf 2e6164d7aa correct comment 2015-01-05 15:25:39 +01:00
Nyx0uf 6401ec083e bpg decode: don't always assume RGBA 2014-12-31 11:44:43 +01:00
Nyx0uf a5de8d887b bitmap infos for bpg 2014-12-30 16:14:47 +01:00
Nyx0uf 54a2375868 colorspaces name 2014-12-30 16:14:32 +01:00
Nyx0uf 6e4e0b885c simplify 2014-12-30 16:08:36 +01:00
Nyx0uf fe58f38145 change project structure
- 1 file per image decoder
2014-12-30 15:12:36 +01:00