[RESPDAM-33] Enhance the imaging operation Created: 21/Jul/20  Updated: 10/Feb/22  Resolved: 10/Feb/22

Status: Closed
Project: DAM Focal
Component/s: None
Affects Version/s: 2.0
Fix Version/s: 2.2

Type: Improvement Priority: Neutral
Reporter: Adrien Manzoni Assignee: Raphael Falvo
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoD:
[X]* Doc/release notes changes? Comment present?
[X]* Downstream builds green?
[X]* Solution information and context easily available?
[X]* Tests
[X]* FixVersion filled and not yet released
[X]  Architecture Decision Record (ADR)
Sprint: Sprint 14

 Description   

Currently the imaging operations ask for a requested width and height.

It will be very handful to provide the following shortcuts:

/original => to return the original picture size

/widthx to request only the width and let the system compute the height

/xheight to request only the height and let the system compute the width

 

Examples:

http://localhost:8080/.imaging/focalarea/Cinema/original/dam/jcr:0a2d3776-b794-4bda-9423-a439f2d4c234/kitchen2.png

http://localhost:8080/.imaging/focalarea/Cinema/x240/dam/jcr:0a2d3776-b794-4bda-9423-a439f2d4c234/kitchen2.png

http://localhost:8080/.imaging/focalarea/Cinema/426x/dam/jcr:0a2d3776-b794-4bda-9423-a439f2d4c234/kitchen2.png


Generated at Mon Feb 12 00:41:52 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.