forked from image-rs/image
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change the JPEG encoder to work on a GenericImageView instead of a by…
…te slice This change allows users to encode jpeg images from other sources than memory, thus finally allowing the encoding of images that do not fit in memory. This also allows users to make the encoder work in a streaming fashion. (see image-rs#1219) This also finally allows encoding images from other pixel formats than 8-bit RGB. The conversion to 8bit YCbCr (used in JPEG) is done on the fly during encoding.
- Loading branch information
Showing
3 changed files
with
151 additions
and
113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.