https://github.com/nextfaze/jpeg2moro
jpeg + transparency
https://github.com/nextfaze/jpeg2moro
Last synced: over 1 year ago
JSON representation
jpeg + transparency
- Host: GitHub
- URL: https://github.com/nextfaze/jpeg2moro
- Owner: NextFaze
- Created: 2010-11-18T14:13:36.000Z (over 15 years ago)
- Default Branch: master
- Last Pushed: 2010-11-22T08:55:35.000Z (over 15 years ago)
- Last Synced: 2025-02-01T08:48:45.447Z (over 1 year ago)
- Language: C
- Homepage:
- Size: 2.96 MB
- Stars: 2
- Watchers: 20
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.rdoc
Awesome Lists containing this project
README
= JPEG2moro
https://github.com/2moro/jpeg2moro
== DESCRIPTION
JPEG2moro is a method of encoding arbitrary data (including an alpha channel) within the JPEG Application Segment APP10.
See SPEC.txt for the technical details.
== SYNOPSIS (ruby)
# create a jpeg with transparency from a png file (creates image.jpg)
> ruby/scripts/jpeg2moro source.png
# specify alpha channel bit depth (1 bit) and output file output.jpg
> ruby/scripts/jpeg2moro source.png -a 1 -o output.jpg
== SYNOPSIS (objective c)
#import "JPEG2moro.h"
...
JPEG2moro *jpg = [JPEG2moro imageNamed:@"output.jpg"];
UIImage *img = [jpg image];