[MGNLUI-1502] Actionbar Preview should not upscale an image if it is smaller then the preview boundaries. Created: 31/May/13  Updated: 10/Mar/21  Resolved: 10/Mar/21

Status: Closed
Project: Magnolia UI
Component/s: None
Affects Version/s: 5.0
Fix Version/s: None

Type: Bug Priority: Neutral
Reporter: Christopher Zimmermann Assignee: Unassigned
Resolution: Obsolete Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
dependency
depends upon MGNLIMG-111 Imaging should provide BoundedResizeN... Closed
supersession
supersedes MGNLUI-1432 Ensure the preview has a fixed height Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled

 Description   

If the image is smaller then the preview - then the true pixels should be displayed - centered in the preview area.

Currently the preview displays an image with the imageing modules "portrait" generator. This is created useing cropresize.BoundedResize which will upscale an image. The imaging module should provide a new BoundedResizeNoUpscale to enable creation of preview which is not upscaled. See attached Imaging module ticket.


Generated at Mon Feb 12 08:47:14 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.