-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
targetWidth and targetHeight bigger than original picture #238
base: master
Are you sure you want to change the base?
Conversation
I think this should discussed before merging. Can you send an email to [email protected]? Also, if we decide to merge it, you should document the behaviour for targetWidth and targetHeight being bigger than the original image (in jsdoc2md/TEMPLATE.md) |
I just sent the email. I can complete the documentation. |
LGTM. |
This makes sense, but is a backwards incompatible change since the behaviour changes, and some may be using that behaviour. Either:
|
BTW, there is a very old issue asking about this I think best choice is adding the new "upscale" option as some people might want the old behaviour. |
Cool, this thing doesn't conflict, so this will be interesting. |
Yeah, I'm cool with this being in here, but I need to run more tests to see when this is the case. (The original height/width is usually HUGE) |
I think it makes more sense for photo gallery images, as you might have downloaded them with a low resolution, or maybe when using the front camera in some devices with less than a 1MP. |
Is this PR going to merged soon? The current behavior of |
+1 for this |
This comment has been minimized.
This comment has been minimized.
+1 for this. |
Includes the pull request apache#331 (apacheGH-329) from the main fork Includes the pull request apache#238 from the main fork
Includes the pull request apache#238 from the main fork
Hi, is this still happening? Thanks. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As discussed in previous comments this can not just be merged as it would be a breaking change, and also one that not all users probably want to have. So it would make sense to use the code as the base for a new option that can be set to enable this behavior.
Platforms affected
Android, iOS (i can not test for other platforms)
What does this PR do?
When setting targetWidth and targetHeight to a bigger size than original picture, the result picture should be sized like the original picture
What testing has been done on this change?
I tested on version 2.3.0 on iPhone and android emulators.
Checklist