User tests: Successful: Unsuccessful:
New scaling method: Scale to fit given boundaries.
result is centered vertically to center and horizontally to middle.
Issue tracker: #31527
// Load up image
$img = new JImage(JPATH_SITE . '/images/powered_by.png');
// Resize
$img->resize(96, 96, JImage::SCALE_FIT);
// Save new image to file
$img->toFile(JPATH_SITE . '/images/joomla_powered_by_resized.jpg', IMAGETYPE_JPEG, array('quality' => 85));
Scaled to 96x96 and used backgorundfill filter (see #1562)
New PR
Thanks. Seems that on Framework I've problem too.
Unfortunately I discovered a bug in the package that shows up after this PR.
I've updated the commit in the Framework, but this PR has been merged before I synced it.
What should I do now?