Skip to content
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

Additional operations not executed when not resized #113

Open
YousefED opened this issue Jul 14, 2015 · 1 comment
Open

Additional operations not executed when not resized #113

YousefED opened this issue Jul 14, 2015 · 1 comment

Comments

@YousefED
Copy link

// First make sure we need to do any work in the first place
if (targetWidth == src.getWidth())
    return src;

Causes src to be returned without executing the additional "ops" if specified.

This behavior does not occur when FIT_EXACT, is specified (since no width/height checking is done there). This means different behaviour (whether or not additional ops are executed or not) changes, when you switch the FIT mode.

I think the additional ops should always be executed.

@rmuller
Copy link

rmuller commented Sep 18, 2016

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants