-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(image-shrink): improve icc profile support (#902)
* fix(image-shrink): improve icc profile support * fix: add marker start check & refactor `getIccProfile` * chore: remove console.log * chore: rewrite `getExif` and `getIccProfile` with arrow funcs * chore: prevent code execution after skipping reject * chore: use `indexOf` instead of `includes` to fix IE support * chore: more arrow funcs & simplify resolve inside catch * chore: make `stripIccProfile` always return image of original or modified file * fix: prevent code execution after df reject & fix double image loading
- Loading branch information
Showing
1 changed file
with
140 additions
and
49 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