Security News
PyPI’s New Archival Feature Closes a Major Security Gap
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
exif-orientation-examples-sr
Advanced tools
JPEG images and generation scripts for testing exif orientation
Example images using each of the EXIF orientation flags (1-to-8), in both landscape and portrait orientations.
[FORKED by SR] - publishing to npm so can consume for dev-testing.
See here for more information.
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
> cd generator
> gem install bundler
> bundle install
To generate test images:
> cd generator
> ./generate path/to/image.jpg
This will create images image_1.jpg
through to image_8.jpg
.
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.
Once you've made your commits:
git checkout -b my_branch
git push origin my_branch
Dave Perrett :: hello@daveperrett.com :: @daveperrett
These images are licensed under the MIT License.
Copyright (c) 2010 Dave Perrett. See License for details.
FAQs
JPEG images and generation scripts for testing exif orientation
The npm package exif-orientation-examples-sr receives a total of 1 weekly downloads. As such, exif-orientation-examples-sr popularity was classified as not popular.
We found that exif-orientation-examples-sr demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
Research
Security News
Malicious npm package postcss-optimizer delivers BeaverTail malware, targeting developer systems; similarities to past campaigns suggest a North Korean connection.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.