summaryrefslogtreecommitdiff
path: root/src/jpeg-utils.h
AgeCommit message (Collapse)AuthorFilesLines
2012-12-27Add support for EXIF Canon Camera temperatureTomas Bzatek1-0/+1
For the moment we're using Exif.CanonSi.0x000c key from Exiv2 namespace since it's an unknown tag to it. This may need little tweaking in the future when proper naming becomes upstream.
2012-04-15Add HAS_EXIF defineTomas Bzatek1-0/+5
This brings a new HAS_EXIF define which is present when EXIF information are available. Templates have been modified to inform user when not available. The test for EXIF metadata presence is fairly basic, we only look for aperture, focal length and exposure time attributes. This might be a subject to change in the future.
2012-04-15Change EXIF metadata handling into a registered functionTomas Bzatek1-30/+28
This allows much greater flexibility from templates regarding EXIF metadata handling, no more hardcoded symbols. It's possible to display essentially any attribute known to Exiv2. Please see http://exiv2.org/metadata.html This brings two new functions that can be called from templates: * get_exif_value (exiv2_attribute) * get_exif_value_fixed (exiv2_attribute) Both functions take a string argument of metadata attribute name from Exiv2 namespace. The difference is that get_exif_value_fixed() does some extra formatting for several basic attributes (e.g. datetime format).
2011-06-04Autorotate images according to EXIF Orientation infoTomas Bzatek1-2/+4
This comes with a cost of decoding full image when only getting image size.
2010-12-12Cleanup header definesTomas Bzatek1-7/+8
2010-12-12jpeg-utils: Function data cleanupTomas Bzatek1-1/+1
2010-10-30Don't resize an image if it fits in desired sizeTomas Bzatek1-1/+1
2010-10-09Add support for squared thumbnailsTomas Bzatek1-1/+5
Disabled by default, only very simple center crop implemented. The SQUARED_SIMPLE_SHAVE_AMOUNT constant may be slightly adjusted according to future experience. It's a really dumb algorithm which may not be suitable for every picture. Looking for a fast and smart algorithm to determine image weight center and radius, i.e. focus on object of interest. The OpenCV's face recognition features are worth to test and consider, though I fear the speed issues.
2009-05-10Consolidate data typesTomas Bzatek1-30/+30
2009-02-26AutotoolizeTomas Bzatek1-0/+94