Uploaded image for project: 'Imaging'
  1. Imaging
  2. MGNLIMG-206

Support configurable ImageStreamer

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Neutral Neutral
    • None
    • 3.4
    • image operations
    • None

      Based on SUPPORT-8159 and detail investigation, currently we didn't have any easy way to provide a custom or direct ImageStreamer, DefaultImageStreamer is hard-coded in info.magnolia.imaging.Imaging.getStreamer(ParameterProviderFactory<E, PT>) and not configurable.
      Also DefaultImageStreamer is using Sun provided ImageWriter (and some from twelvemonkeys imageio jpeg) which sometimes didn't satisfy highly demanded customers and it also alter already processed image if we use custom image generator.
      Moreover BufferedImage is not a preferred one when customers are using 3rd party library because BufferedImage is a derived value after Magnolia decoded the uploaded image, lost some metadata(s) and used our image decoder which is also not a preferable one. Binary store to and from JCR with BufferedImage in cache would be better.

        Acceptance criteria

              Unassigned Unassigned
              viet.nguyen Viet Nguyen
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:

                  Task DoD