Coder Social home page Coder Social logo

whatdoineed2do / exiv2-raw-preview-rating-plugins Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 238 KB

Exiv2 based plugins to view embedded RAW previews (gdk pixbuf loader) and EXIF/XMP rating utils for Eye of Mate (eom) and Eye of Gnome (eog)

Makefile 2.78% C++ 91.90% C 3.27% Shell 0.05% M4 2.01%
exif-metadata eye-of-gnome gdk-pixbuf eye-of-mate

exiv2-raw-preview-rating-plugins's Introduction

gdk pixbuf Viewer for RAW preview images and Gnome EOG/EOM EXIF rating plugins

This project provides 3x plugins:

  • a gdk pixbuf loader that handles RAW files (primarily Nikon NEF, Canon CR2 and DNGs) that loads the largest embedded preview image available (via exiv2) - the RAW file support is dependant on exiv2. The largest embedded preview image is dependant on the underlying device but the user can choose to scale for easier handling by gsettings set org.gtk.gdk-pixbuf.exiv2-rawpreview scale-limit 1632. Set G_MESSAGES_DEBUG=gdk-pixbuf.exiv2-rawpreview to examine values as pixbuf runs.

The available controls, as seen via for i in $(gsettings list-keys org.gtk.gdk-pixbuf.exiv2-rawpreview); do echo "'$i' $(gsettings describe org.gtk.gdk-pixbuf.exiv2-rawpreview $i)"; done:

  • scale-limit - scaling of preview image to display
  • convert-srgb - attempt to convert colourspace to sRGB
  • auto-orientate - disable/enable correct image orientation; you may want this to be false and allow image viewers to auto orientate to avoid double rotation
  • annotation-font - font for overlayed EXIF (names as recognised by ImageMagick, see: convert -list font)
  • annotation-percent-height - size of overlayed EXIF details based on height (set to 0 to disable and to use explicit font-size)
  • `annotation-font-size - font size for EXIF
  • 2x Linux desktop image viewer plugins that can set/unset EXIF/XMP rating via the R keybinding - relies on exiv2 for supported EXIF images:

Intended Usage

For use when reviewing and making first cut selections from RAW files from within a Linux graphical environment: a precursor ahead of editting your RAW files where a faster lightweight workflow is required (no need for a VM with CaptureNX or Lightroom etc or native Linux RawTherapee etc).

The scale-limit is meant to help optimise needless scaling of images: if you have a 36 megapixel RAW image it may have a small number of embedded preview images of varying and increasing sizes, which is what Nikon cameras tend to do: a Nikon RAW file may embed preview images of 570x, 1632x and full (36mp) 7360x. If your screen is only 1600 pixels wide, there may be no point in using the 36mp preview image that is then scaled to fit screen. In such an situation where you are working with a known size of embedded preview image sizes, you can set scale-limit to the desired size to avoid potential needless image scaling for display.

Setting/Unsetting EXIF/XMP Rating

Using eog or eom, open any files and use r key to toggle rating on the current image file - the rating is only saved when moving away from the current image; if you toggle multiple times that leaves the file in the original rated state, no rating update is written to the file.

Ratings are represented in the XMP Rating tag with a value of 5. Use exiv2 -px foo.NEF to validate rating flag is set on the file.

Current rating is displayed on the bottom right of the statusbar.

Dependancies

Uses gdk-pixbuf, exiv2 and Image Magick. By default the build scripts will try to build all plugins if development dependenacies are satisfied.

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.