camerakit / jpegkit-android Goto Github PK
View Code? Open in Web Editor NEWEfficient JPEG operations for Android without the risk of an OutOfMemoryException.
Home Page: https://www.camerakit.website/jpegkit
License: MIT License
Efficient JPEG operations for Android without the risk of an OutOfMemoryException.
Home Page: https://www.camerakit.website/jpegkit
License: MIT License
Can you guys be sure that the cat.jpg is no longer included in the library?
As said in the title, cropping by less than 16 px on left/top crops on right/bottom instead. This can be observed in the demo app as well, probably easiest with a smaller image (thumbnail size, so roughly 160x120) so that each pixel is larger (and setting the imageView to fitCenter to enlarge the displayed image for the same reason).
As of the bintray shutdown May 1st, this library is no longer resolving.
Description of getting Width/Height from a JPEG are listed as:
MetaData
You can currently retrieve a JPEGs width and height. This only decodes the JPEGs header information and is very fast.
int width = jpegTransformer.getWidth(); int height = jpegTransformer.getHeight();
These methods exist on the jpegkit.Jpeg
class, not the jpegkit.JpegTransformer
. I'm not sure if that's an oversight in the intended implementation of JpegTransformer, or if the readme should be describing how to get metadata from a Jpeg object.
Edit: I just realized that there are other bits that seem to refer to the wrong class:
jpegTransformer.crop(cropRect);
JpegTransformer
class has cropWithOffsets(...)
and cropWithRegion(...)
methods. Jpeg
class has the crop(Rect)
method.
If i had a yuv image, is possibile to use this library to do crop and rotate actions?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.