Code Monkey home page Code Monkey logo

gimp-jxr's Introduction

gimp-jxr

GIMP plugin for reading and writing of JPEG XR image files. The plugin is designed to run with GIMP version 2.8.x. A version targeting GIMP 2.9 (albeit unfinished) can be found in the gimp-2.9 branch.

license

Features

Almost all pixel formats supported by JPEG XR can be loaded. Incompatible formats, however, will first be converted to a representation that GIMP understands (this means you'll loose HDR data, for example). All RGB pixel formats are converted to 24bpp RGB, all RGBA formats to 32bpp BGRA, and all grayscale formats to 8bpp Gray. Black-white images are imported as indexed images.

Images are saved in one of the following pixel formats:

  • 1bpp BlackWhite, if image mode is set to Indexed and the color map has exactly two entries black and white
  • 8bpp Grayscale, for grayscale images
  • 24bpp RGB, for color images without alpha channel
  • 32bpp BGRA, for color images with alpha channel

Save options include:

  • Image quality
  • Alpha channel quality
  • Overlap¹
  • Chroma subsampling¹
  • Tiling¹

¹ see jxrlib documentation for more information

The plugin supports reading and writing of images with embedded color profiles and XMP metadata.

Installation

The plugin is designed to run with GIMP version 2.8.x.

Windows

Take the pre-compiled binary and put it into "%USERPROFILE%\.gimp-2.8\plug-ins" or "%PROGRAMFILES%\GIMP 2\lib\gimp\2.0\plug-ins" (create the folder if it doesn't exist). Make sure you are using the x64 version of the plugin if your GIMP installation is 64-bit, otherwise use the x86 version. If you get the error code 0xc000007b on GIMP startup, you are using the wrong version of the plugin.

Ubuntu

  1. Make sure GIMP 2.8.x is installed and you have all required development files:

    sudo apt-get install libgimp2.0-dev libjxr0 libjxr-dev
    
  2. Grab the gimp-jxr source code via git:

    git clone https://github.com/chausner/gimp-jxr.git
    
  3. Compile and install gimp-jxr:

    cd gimp-jxr
    make
    make install
    

gimp-jxr's People

Contributors

chausner avatar krasnayaploshchad avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

gimp-jxr's Issues

hdr lost from the instant the .jxr is loaded

morning !

tried the extension, it can indeed load the image in gimp but even in 32 bits floating point + linear, the image displayed in gimp is nothing like the source image or as it s displayed in windows photo app or in wcg + hdr image viewer.
the highlights are blown out, the whole image is messed up.
wether you export the image in .jxr again, .exr, .hdr, and you open it again with windows photo app or in wcg + hdr image viewer, the image has anyway completely lost the hdr metadata.
the capture in attm is taken with obs in hdr, on mpv, from an uhd bluray.
you can notice the differences between the 2 renders : the original and, the same one loaded in gimp then exported in .jxr.
do you manage to make your extension process .jxr with gimp as the description is claiming it to do on your side ?
apparently the issue is that the extension does not keep the color bit depth when opening the .jxr in gimp.

https://1drv.ms/f/s!AiUmCeW6ezhq9yVezxM22Jt8F8_-?e=7WCCM6

Plugin errors when exporting an image with multiple layers.

Hi,

Prior to the rewrite, the plugin had no problems exporting multi-layered images (using GIMPJPEGXRPlugin 1.0.1) as a .jxr. With the release of the rewrite, however, the plugin throws an error whenever the image I'm exporting has multiple layers.

A screenshot of the error:
error

I'm on a Windows 7 install running GIMP 2.8.22 in conjunction to gimp-jxr 2.1.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.