Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-04-11 | Remove needless #defines in load-jpx.c | Tor Andersson | |
2018-02-01 | Drop JPEG/J2K/JPEG-XR/PNG/TIFF colorspaces even upon exception. | Sebastian Rasmussen | |
For TIFF it was not just the colorspace, but other data as well. | |||
2018-01-04 | Bug 698836: Fix build with FZ_ENABLE_JPX=0. | Tor Andersson | |
2017-11-09 | Bug 698307: Improve stdint.h detection logic in openjpeg wrapper. | Robin Watts | |
Thanks to Tamir Evan for this tweak. | |||
2017-11-09 | Bug 698353: Avoid having our API depend on DEBUG/NDEBUG. | Robin Watts | |
Currently, our API uses static inlines for fz_lock and fz_unlock, the definitions for which depend on whether we build NDEBUG or not. This isn't ideal as it causes problems when people link a release binary with a debug lib (or vice versa). We really want to continue to use static inlines for the locking functions as used from MuPDF, as we hit them hard in the keep/drop functions. We therefore remove fz_lock/fz_unlock from the public API entirely. Accordingly, we move the fz_lock/fz_unlock static inlines into fitz-imp.h (an internal header), together with the fz_keep_.../fz_drop_... functions. We then have public fz_lock/fz_unlock functions for any external callers to use that are free of compilications. At the same time, to avoid another indirection, we change from holding the locking functions as a pointer to a struct to a struct itself. | |||
2017-11-01 | Use int64_t for public file API offsets. | Tor Andersson | |
Don't mess with conditional compilation with LARGEFILE -- always expose 64-bit file offsets in our public API. | |||
2017-10-25 | Fix colorspace reference counting in fz_load_*_info. | Tor Andersson | |
These are called from fz_new_image_from_buffer. | |||
2017-10-12 | Make image loading use const data pointers. | Tor Andersson | |
2017-09-07 | Initialize variables to appease clang scan-build. | Sebastian Rasmussen | |
2017-09-05 | Make luratech decoder glue compile after interface changes. | Sebastian Rasmussen | |
2017-07-19 | Add spots to fz_pixmaps. | Robin Watts | |
Update separations interface further to cope with whether spots should be rendered separately, or as composite colors. | |||
2017-07-17 | Don't convert cmyka images to rgba | Michael Vrhel | |
We should handle the cmyka images in their native form now that we are holding the data inverted. Fixes fts_17_1700.pdf Also fixes fts_43xx.xps | |||
2017-07-06 | fz_var() variables must be initialized before fz_try. | Sebastian Rasmussen | |
2017-07-03 | Avoid leaking jpx structure if corrupt file. | Robin Watts | |
2017-06-16 | MSVC: Avoid signed/unsigned warning. | Robin Watts | |
2017-06-08 | Plug leak of opj decoder in case of fz_new_pixmap() throwing. | Sebastian Rasmussen | |
2017-06-06 | Declare functions without arguments as taking void. | Sebastian Rasmussen | |
2017-06-03 | jpx: Use subsampled width when reading subsampled data. | Sebastian Rasmussen | |
This bug caused an indeterminism with issue726.j2k. | |||
2017-05-31 | Avoid double literals causing casts to float. | Sebastian Rasmussen | |
2017-05-29 | Tweak JPEG2000 colorspace detection. | Tor Andersson | |
2017-04-27 | Include required system headers. | Tor Andersson | |
2017-04-05 | jpx: Make Luratech decoder glue layer compile. | Sebastian Rasmussen | |
2017-02-06 | Fix Win32 builds. | Robin Watts | |
2017-01-23 | android: Add ndk-build makefile to build JNI library for android viewers. | Sebastian Rasmussen | |
Run 'make android' to invoke ndk-build with the proper arguments. The results are placed in build/android. | |||
2017-01-17 | Fix typos. | Sebastian Rasmussen | |
2016-12-27 | Bug 697455: Make JPX support optional via configuration flag. | Tor Andersson | |
Set FZ_ENABLE_JPX=0 in XCFLAGS or include/mupdf/fitz/config.h to disable support for JPX at compile time. Be aware that this may break support for PDF 1.5 and later files that need JPEG2000 support. | |||
2016-12-27 | Strip extraneous blank lines. | Tor Andersson | |
2016-12-27 | Common code to ensure we only premultiply pixmaps with additive colors. | Tor Andersson | |
2016-12-14 | jpx: Delay determining if colorspace is indexed. | Sebastian Rasmussen | |
2016-12-14 | jpx: Quietly limit number of components for openjpeg decoder. | Sebastian Rasmussen | |
2016-12-14 | jpx: Create openjpeg decoder state. | Sebastian Rasmussen | |
This allows for communicating the colorspace without using a pixmap. | |||
2016-12-14 | jpx: Only do YCC-to-RGB conversion if decoding image samples. | Sebastian Rasmussen | |
2016-12-14 | jpx: Optimize sample writing function. | Sebastian Rasmussen | |
2016-12-14 | jpx: Delay reading metadata until parsing samples where possible. | Sebastian Rasmussen | |
2016-12-14 | jpx: Only compute signed offsets once. | Sebastian Rasmussen | |
2016-12-14 | jpx: Use local variables instead of repeatedly dereferencing state. | Sebastian Rasmussen | |
2016-12-14 | jpx: Share YCC-to-RGB conversion for luratech/openjpeg decoders. | Sebastian Rasmussen | |
2016-12-14 | jpx: Move state which is not shared among functions to decoder stack. | Sebastian Rasmussen | |
In the case of fz_context *, use that for the allocator callbacks. | |||
2016-12-14 | jpx: Use macro to check for palette. | Sebastian Rasmussen | |
2016-12-14 | jpx: Max components is known, so avoid allocating arrays. | Sebastian Rasmussen | |
2016-12-14 | jpx: Use fz_context directly, don't wrap it in state. | Sebastian Rasmussen | |
2016-12-14 | jpx: Reuse structs for luratech/openjpeg decoders. | Sebastian Rasmussen | |
2016-12-14 | jpx: Remove unused struct. | Sebastian Rasmussen | |
2016-12-14 | jpx: Plug pixmap leak in case of error during decoding. | Sebastian Rasmussen | |
2016-12-14 | Let pixmap colorspace conversion create new pixmap. | Sebastian Rasmussen | |
This moves dropping the converted pixmap into fz_convert_pixmap(), which relieves every caller from doing so. Moreover resolution, position and interpolation are kept. | |||
2016-12-14 | Plug pixmap leak when fz_convert_pixmap() throws. | Sebastian Rasmussen | |
2016-11-22 | Fix fz_warn() format compiler warning. | Sebastian Rasmussen | |
2016-11-04 | Avoid warnings in 64bit windows builds of luratech bindings. | Robin Watts | |
2016-11-02 | Explain conversion to RGB in jpx/jxr image loading. | Sebastian Rasmussen | |
2016-10-13 | Bug 696885: Handle subsampled components in openjpeg decoder wrapper. | Robin Watts | |
Also add simple ycc to rgb conversion (stolen from Sebastian's code). |