Giter Site home page Giter Site logo

savolai / jpeg-autorotate Goto Github PK

View Code? Open in Web Editor NEW
33.0 5.0 4.0 17.15 MB

LEGACY JPEG Autorotate 2.0 adds Windows right click menu items to folders and photo files (.jpg, .jpeg) for lossless rotation of JPEG files according to EXIF orientation metadata. Version 3.0 is a GUI app that solves many of the issues in 2.0, and the installer is available on the website:

Home Page: http://jpegrotate.com

License: Other

C 4.15% PHP 1.04% C++ 46.40% CSS 19.16% Batchfile 2.38% NSIS 26.32% HTML 0.54%
jpeg-autorotate jpeg-files nsis-installer batch-script photo-files calls-jhead exif-orientation-metadata jhead

jpeg-autorotate's Introduction

JPEG-Autorotate

NOTE: This repository contains the source code of JPEG Autorotate 2, which has been superceded by JPEG Autorotate 3. See https://jpegrotate.com

Adds Windows right click menu items to folders and photo files (.jpg, .jpeg) for lossless rotation of JPEG files according to EXIF orientation metadata.

(Developer details below added July 22, 2016)

All JPEG autorotate literally does is call jhead with the path given by explorer and a couple of parameters. The entire command line window that opens is called in accordance with registry keys like this

WriteRegStr HKEY_CLASSES_ROOT "Folder\shell\JPEG-EXIF_autorotate_folder\command" "" '"$INSTDIR\autooperatedir.bat" "$INSTDIR\jhead" "%l" "$INSTDIR" -autorot $setPauseAfterDone'

(https://github.com/savolai/JPEG-Autorotate/blob/master/autorotate.nsi )

Which calls the bat file ( https://github.com/savolai/JPEG-Autorotate/blob/master/autooperatedir.bat (

which pretty much only calls jhead and nothing else.

%1 %4 %2\*.jpg
 %1 = $INSTDIR\jhead 
 %4 = -autorot
 %2 = directory path

If you want me to add any parameters of jhead, I can add parameters of course. Or if you can send a patch on github, that would be great. I don't really have much time to work on JPEG autorotate and would love someone to take its maintenance over on github.

http://www.sentex.net/~mwandel/jhead/usage.html

jpeg-autorotate's People

Contributors

catchup4kodi avatar savolai 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

jpeg-autorotate's Issues

[Suggestion] Add support for HEIC?

Is there any plan for supporting HEIC files? The format is becoming more popular in the past couple of years as a substitute for JPEG and would be nice if Autorotate also added support for it. Since the iPhone 7 for example, HEIC is the default saving format for photos captured with the camera.

KR,
Fergo

Invalid SOS parameters for sequential JPEG

First, thanks for such a great tool! Just running into an issue.

I keep getting this error randomly. I tested this in version 1 and 2.

Here's a screenshot of the error output:
silverelite

Maybe just add a try catch to prevent the error from ending the operation?

Thanks!

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.