-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add support for stripping alpha channel for vips image processor
That's how most operations of the GdkPixbuf-based image processor work. - match-multiple-operations - MAE (Mean Average Error): 0.000500558 - match-multiple-operations-and-straighten - MAE (Mean Average Error): 0.0400593 MAE 0.04 comes from improving consistency in vips implementation. Pixbuf handled transparency differently depending on whether straighten option was used (flattening alpha) or not (discarding alpha), now it's always discarding. Long-term it feels that flattening is more desired, but I'm trying to avoid changing too much at once.
- Loading branch information
Showing
5 changed files
with
15 additions
and
3 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
Binary file added
BIN
+59.4 KB
spec/fixtures/reference_images/vips/match-multiple-operations-and-straighten.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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