SciTools-incubator / image-meta-tag

A python package for tagging, managing and presenting very large numbers of images created by matplotlib.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ImageMetaTag is a python package built around a wrapper for savefig in matplotlib, which adds metadata tags to supported image file formats.

Once the images have been tagged, it can also be used to manage an SQL database of images and their metadata. The image metadata can be used to produce an ImageMetaTag.ImageDict object: a structured/heirachical dictionary of dictionaries which can be used to easily create web pages to present large numbers of images.

As the image metadata tagging process involves reading the image using the Image library, a few common image post-processing options are included such as cropping, logo addition and colour palette manipulation to reduce filesizes.

All ImageMetaTag source code, unless explicitly stated, is © British Crown copyright, 2015-2023 and is released under a BSD 3-Clause License. Details on how to contribute to ImageMetaTag are given here.

The file ImageMetaTag/javascript/pako_inflate.js has been copied from pako and is © 2014-2017 by Vitaly Puzrin and Andrei Tuputcyn and released under a MIT License, detailed within the file.

The files ImageMetaTag/javascript/img_comparison_slider_styles.css and ImageMetaTag/javascript/img_comparison_slider_styles.js have been copied from img-compatison-slider and is © 2019 by Dmytro Snisarenko and released under a MIT License, detailed within the files.

Supported image file formats: png

Documentation is available via GitHub Pages

About

A python package for tagging, managing and presenting very large numbers of images created by matplotlib.

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Python 65.9%Language:JavaScript 33.8%Language:CSS 0.3%