? Success

User tests: Successful: Unsuccessful:

avatar piotr-cz
piotr-cz
2 Oct 2013

There was a invisible bug in the resize method that showed up when I've implemented SCALE_FIT functionality - I didn't have time to update last commit like in the Framework, which is attached here. Below is explanation what it's all about.

The class didn't evaluate loaded image be transparent (see fix) and thus was always using imagecopyresampled function and everything seemed alright.

After the patch resource handle is evaluated to be transparent and imagecopyresized method produces visually poor results.

After little research I'm not sure, why it's even been used; I hope the author @rvsjoen can say something about it.
It seems that imagecopyresized is quite faster, but still would be used for wrong reasons.

Other frameworks:

Resources:

avatar piotr-cz piotr-cz - open - 2 Oct 2013
avatar piotr-cz
piotr-cz - comment - 9 Oct 2013

Issue tracker item: 3221

avatar piotr-cz
piotr-cz - comment - 22 Feb 2014

Updated to current staging branch.

avatar b2z
b2z - comment - 27 Jul 2014

Oh my, so many commits :) @piotr-cz how to test you initial one? Thanks!

avatar Kubik-Rubik
Kubik-Rubik - comment - 27 Jul 2014

This PR is outdated and to the wrong branch. Please do a new PR with against "staging" with the specific improvement. Thank you!

avatar brianteeman
brianteeman - comment - 8 Aug 2014

Closed as per the comment on the tracker

avatar brianteeman brianteeman - close - 8 Aug 2014
avatar piotr-cz
piotr-cz - comment - 6 Sep 2014

Rebased again on staging branch.
To test, see first commit before rebase craziness started.

Superseded by #4234

Add a Comment

Login with GitHub to post a comment