recurser/exif-orientation-examples
关于
用于展示各种 EXIF 方向标志的示例图片,涵盖横向和纵向。
设计与媒体实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- -1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文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.
Alternatives
Credits
- The sample landscape image is by Pierre Bouillot.
- The sample portrait image is by John Salvino.
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:
- Fork exif-orientation-examples
- Create a topic branch -
git checkout -b my_branch - Push to your branch -
git push origin my_branch - Create a Pull Request from your branch
- 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.
探索相关项目
加载中…