Age | Commit message (Collapse) | Author | |
---|---|---|---|
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). | |||
2016-10-12 | Fix leak in fz_load_jpx_info. | Robin Watts | |
2016-10-09 | Fix HAVE_JPEGXR and HAVE_LURATECH code for colorspace changes. | Sebastian Rasmussen | |
2016-10-06 | Hide internals of fz_colorspace | Robin Watts | |
The implementation does not need to be in the public API. | |||
2016-09-26 | Update OpenJPEG to the latest (git) version. | Robin Watts | |
Part of the change in this code is to require opj_malloc and co. Sadly, opj_malloc and co do not take a context field, so a we need to wrap calls to openjpeg with a lock. I am reusing the freetype lock here for simplicity. | |||
2016-09-19 | jpx: Fix off by one in palettized images. | Sebastian Rasmussen | |
2016-07-06 | Some minor optimizations. | Tor Andersson | |
2016-07-06 | Add optional support for Luratech JPEG2000 decoder. | Sebastian Rasmussen | |
2016-07-05 | Support J2K/JP2 files in CBZ. | Sebastian Rasmussen | |
2016-06-17 | Use 'size_t' instead of int as appropriate. | Robin Watts | |
This silences the many warnings we get when building for x64 in windows. This does not address any of the warnings we get in thirdparty libraries - in particular harfbuzz. These look (at a quick glance) harmless though. | |||
2016-05-24 | Skip alphas for "loaded" JPXs (where possible). | Robin Watts | |
2016-05-24 | fz_pixmap revamp: add stride and make alpha optional | Robin Watts | |
fz_pixmaps now have an explicit stride value. By default no change from before, but code all copes with extra gaps at the end of the line. The alpha data in fz_pixmaps is no longer compulsory. mudraw: use rgb not rgba (ppmraw), cmyk not cmyka (pkmraw). Update halftone code to not expect alpha plane. Update PNG writing to cope with alpha less input. Also hide repeated params within the png output context. ARM code needs updating. | |||
2016-04-27 | Fix 696649: remove fz_rethrow_message calls. | Tor Andersson | |
2016-04-22 | thirdparty: Update to openjpeg 2.1.0. | Sebastian Rasmussen | |
2015-10-14 | Scale colors of JPEG2000 images with bit depths less than eight. | Tor Andersson | |
2014-09-02 | Clean some whitespace. | Tor Andersson | |
2014-07-18 | fix potential memory leak in load-jpx.c | Simon Bünzli | |
2014-05-06 | Fix 694909: revert "Force colorspaces to match with JPX images." and ... | Tor Andersson | |
... instead convert a JPEG2000 used as a soft mask into grayscale. This is more robust than trusting the PDF specified colorspace over the internal JPX colorspace. The spec implies that in a colorspace conflict, the internal JPX colorspace should be used. The PDF colorspace may be a DeviceN or Separation colorspace. DeviceN and Separation colorspaces are not valid destination colorspaces, so we may not always be able to convert the internal JPX colorspace into the PDF specified colorspace. Converting from the internal colorspace into grayscale is more robust, and solves the issue that the original commit was intended to fix. | |||
2014-02-18 | Make the OpenJPEG I/O callbacks static..... | Chris Liddell | |
and give them names more likely to be unique. | |||
2014-01-13 | verify that openjpeg actually allocates data | Simon Bünzli | |
This can be seen e.g. in: 5db811ac25ef543fd0cfa0873e155329_signal_sigsegv_c9b60f_9636_76.pdf Thanks to Mateusz Jurczyk and Gynvael Coldwind of the Google Security Team for providing the example files. | |||
2013-06-20 | Rearrange source files. | Tor Andersson | |