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
    • Resolution Time Custom Field:
      5 days, 5 hours, 33 minutes, 50 seconds

      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

            Activity

              People

              • Assignee:
                closedissues Closed Issues
                Reporter:
                ragauss Ray Gauss
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: