-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
feat: add format and quality parameters toDataURL function #2431
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
bohdanprog
wants to merge
50
commits into
main
Choose a base branch
from
feat/toDataURL-add-format-and-quality-parameters
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 30 commits
Commits
Show all changes
50 commits
Select commit
Hold shift + click to select a range
9cc26da
feat: add type for toDataUrl options
bohdanprog b3c411a
feat: export ToDataUrlOptions type
bohdanprog 20b35ce
feat: update Test2233, add data for test two options image format
bohdanprog b5c6cd7
feat: add implementation for iOS platform, now it's available to pass…
bohdanprog 57be53a
feat: update iOS implementation, check quality value, and update func…
bohdanprog f93ea7a
feat: add android platform implementation for format and quality para…
bohdanprog b8aa9cd
feat: update test2233 example
bohdanprog f731f28
feat: extract out of class the function checkOptions, and add the fun…
bohdanprog 3b4f12b
feat: add support for Macos platform format and quality parameters to…
bohdanprog 78e31ad
feat: update test2233 example
bohdanprog 6e762b9
feat: add to validateJpegQualityParameter check for macos
bohdanprog f525454
feat: update checkOptions and validateJpegQualityParameter functions
bohdanprog 471c2db
feat: update web implementation add new parameters
bohdanprog ead5351
feat: update ToDataUrlOptions types, made validate function more unde…
bohdanprog 5d07869
fix: upate web implementation and removed unnecessary comments
bohdanprog 624f9f1
refactor: rename type from ToDataUrlOptions to DataUrlOptions
bohdanprog 6720611
refactor: rename variable
bohdanprog 683dcce
refactor: restore Test2233 example
bohdanprog 88d412f
feat: update interface for JpegOptions and PngOptions
bohdanprog 5fb2f9f
feat: update Svg example
bohdanprog 5421aaf
feat: removed unimplemented method
bohdanprog 26b15e2
feat: simplified getDataURLWithBounds function
bohdanprog 85ce71c
feat: update Svg example
bohdanprog 2b268ad
fix: fixed implementation without options, pass quality case it requi…
bohdanprog 632d8d3
feat: modify the check for the lowest quality in validateJpegQualityP…
bohdanprog b6ea5b2
feat: removed extra check for the Android platform in the validateJpe…
bohdanprog 1b722b9
feat: update Android implementation to make width and height paramete…
bohdanprog cf32be3
feat: update iOS implementation to make width and height parameters n…
bohdanprog f58e649
feat: update DataUrlOptions type,make width and height parameters not…
bohdanprog 33c70db
feat: leave out quality value on web platform, don't pass default value
bohdanprog 3edce70
Merge branch 'main' of github.com:software-mansion/react-native-svg i…
bohdanprog 992d003
feat: update type safety, check if format value doesn't equal null, r…
bohdanprog ea3f8ac
feat: update Svg example
bohdanprog a91999c
feat: update type check on web version, also update types for native …
bohdanprog 89963ce
feat: update svg example
bohdanprog 9d7fef7
Merge branch 'main' of github.com:software-mansion/react-native-svg i…
bohdanprog d0f44b8
feat: create toDataUrlUtils for toDataUrl function
bohdanprog a7a77d1
chore: update DataUrlOptions imports
bohdanprog d84b048
chore: update Svg example
bohdanprog 1ae4bdf
feat: add check if field size exist in options object
bohdanprog 887eb51
fix: ios add new variable size, and extract width and height from siz…
bohdanprog 13d38ec
chore: change JSdoc for toDataURL function
bohdanprog c2e2389
chore: changed quality check on web platform
bohdanprog f5c6464
Merge branch 'main' into feat/toDataURL-add-format-and-quality-parame…
bohdanprog ea9564f
Update JSDoc part of deprecated parameters
bohdanprog 517a18e
Update JSDoc
bohdanprog 21c5315
update description about function toDataUrl
bohdanprog 211f7e9
chore: update properties description
bohdanprog 3cdc9a0
Merge branch 'main' of github.com:software-mansion/react-native-svg i…
bohdanprog 595d5d5
chore: update Podfile.lock
bohdanprog File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
bohdanprog marked this conversation as resolved.
Show resolved
Hide resolved
|
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.