Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stomita/ios-imagefile-megapixel
Fixes iOS6 Safari's image file rendering issue for large size image (over mega-pixel), which causes unexpected subsampling when drawing it in canvas.
https://github.com/stomita/ios-imagefile-megapixel
Last synced: about 2 months ago
JSON representation
Fixes iOS6 Safari's image file rendering issue for large size image (over mega-pixel), which causes unexpected subsampling when drawing it in canvas.
- Host: GitHub
- URL: https://github.com/stomita/ios-imagefile-megapixel
- Owner: stomita
- License: mit
- Created: 2012-09-27T01:52:46.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2016-10-13T06:11:49.000Z (about 8 years ago)
- Last Synced: 2024-10-19T06:18:07.281Z (about 2 months ago)
- Language: JavaScript
- Homepage:
- Size: 4.37 MB
- Stars: 585
- Watchers: 33
- Forks: 159
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-canvas - ios-imagefile-megapixel - Fixes iOS6 Safari's image file rendering issue for large size image (over mega-pixel), which causes unexpected subsampling when drawing it in canvas. ![](https://img.shields.io/github/stars/stomita/ios-imagefile-megapixel?style=social) ![](https://img.shields.io/github/forks/stomita/ios-imagefile-megapixel?style=social) (Libraries / Image processing)
README
# Mega pixel image rendering library for iOS6 Safari
Fixes iOS6 Safari's image file rendering issue for large size image (over mega-pixel), which causes unexpected subsampling when drawing it in canvas.
By using this library, you can safely render the image with proper stretching.About iOS Safari's resource limitation and subsampling, see following link:
[http://developer.apple.com/library/safari/#documentation/AppleApplications/Reference/SafariWebContent/CreatingContentforSafarioniPhone/CreatingContentforSafarioniPhone.html#//apple_ref/doc/uid/TP40006482-SW15](http://developer.apple.com/library/safari/#documentation/AppleApplications/Reference/SafariWebContent/CreatingContentforSafarioniPhone/CreatingContentforSafarioniPhone.html#//apple_ref/doc/uid/TP40006482-SW15)Although it mainly focuses fixing iOS Safari related issues, it can be safely used in the envionments other than iOS6.
## Usage
See ./test directory.
## FAQ
Q. Photos from iPhone is rotated and not in correct orientation.
A. Orientation of jpeg file is recorded in EXIF format. This library won't detect exif information automatically. To detect the information in JavaScript, use exif.js (https://github.com/jseidelin/exif-js).## Note
This project is not actively maintained by the author, and finding someone can contribute as a maintainer. See https://github.com/stomita/ios-imagefile-megapixel/issues/34 .