Uploaded image for project: 'Alfresco'
  1. Alfresco
  2. ALF-17766

ImageCropOptions Should be Refactored as TransformationSourceOptions

    Details

    • Type: Improvement
    • Status: Closed (View Workflow)
    • Priority: Unprioritized
    • Resolution: Fixed
    • Affects Version/s: 4.2.d Community
    • Fix Version/s: 4.2.d Community
    • Component/s: Transformations
    • Security Level: external (External user)
    • Labels:
      None

      Description

      ImageCropOptions should be refactored as generic CropSourceOptions which implement TransformationSourceOptions added in ALF-13254.

      Cropping may apply to video and other source mimetypes besides video.

      Like PagedSourceOptions and TemporalSourceOptions, CropSourceOptions should contain a serializer responsible for conversions related to renditions.

      The ImageMagick transformer and ImageRenderingEngine should be refactored for the new CropSourceOptions.

      Backwards compatibility with existing uses and extensions of ImageCropOptions must be considered. Perhaps an ImageCropOptions class which extends CropSourceOptions could be left in place and marked as deprecated.

        Attachments

          Issue Links

            Structure

              Activity

                People

                • Assignee:
                  closedissues Closed Issues
                  Reporter:
                  ragauss Ray Gauss [X] (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Structure Helper Panel