Giter Site home page Giter Site logo

mliq / exif-orientation-examples Goto Github PK

View Code? Open in Web Editor NEW

This project forked from recurser/exif-orientation-examples

0.0 1.0 0.0 8.95 MB

Example images for the various EXIF orientation flags, in both landscape and portrait orientation.

Home Page: http://www.daveperrett.com/articles/2012/07/28/exif-orientation-handling-is-a-ghetto/

License: MIT License

Makefile 9.73% Ruby 90.27%

exif-orientation-examples's Introduction

EXIF Orientation-flag example images

Example images using each of the EXIF orientation flags (0-to-8), in both landscape and portrait orientations.

See here for more information.

Generating your own images

If you would like to generate test images based on your own photos, you can use the generate.rb script included in the generator folder.

The instructions below assume you are running on macOS - if not, you will need to install the Ghostscript fonts (brew install gs) some other way.

To install the dependencies:

> brew install gs exiftool imagemagick@6
> cd generator
> gem install bundler
> bundle install

To generate test images:

> cd generator
> ./generate.rb path/to/image.jpg

This will create images image_0.jpg through to image_8.jpg.

Re-generating sample images

Simply run make to regenerate the included sample images. This will download random portrait and landscape orientation images from unsplash.com and generate sample images for each of them.

Generating these images depends on having the generator dependencies installed - see the Generating your own images section for instructions on installing dependencies.

Credits

Change history

  • Version 2.0.0 (2017-08-05) : Add a script to generate example images from the command line.
  • Version 1.0.2 (2017-03-06) : Remove Apple Copyrighted ICC profile from orientations 2-8 (thanks @mans0954!).
  • Version 1.0.1 (2013-03-10) : Add MIT license and some contact details.
  • Version 1.0.0 (2012-07-28) : 1.0 release.

Contributing

Once you've made your commits:

  1. Fork exif-orientation-examples
  2. Create a topic branch - git checkout -b my_branch
  3. Push to your branch - git push origin my_branch
  4. Create a Pull Request from your branch
  5. That's it!

Author

Dave Perrett :: [email protected] :: @daveperrett

Copyright

These images are licensed under the MIT License.

Copyright (c) 2010 Dave Perrett. See License for details.

exif-orientation-examples's People

Contributors

recurser avatar mans0954 avatar daytonlowell avatar julik avatar

Watchers

James Cloos avatar

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.