Details

      Description

      0. Apply LPS-65218
      1. Add the following to portal-ext:
      users.image.max.height=300
      users.image.max.width=300
      users.image.check.token=false
      users.image.max.size=5242880
      2. Go to Test Test > My Account and click to change profile picture
      3. Upload in.jpg and save

      Result A: The image is pixelated after saving

      If the image scaling is done with an external library, like thumbnailator or imgscalr, the quality of the resulting picture improves considerably.

      Also, these libraries execute the image scaling operation in ca. 5th of the time as the basic graphics2D method without LPS-65218.

      I'm choosing thumbnailator for image scaling because it is faster than imgscalr, and produces a smaller image file with default settings.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sylvia.luan Sylvia Luan
              Reporter:
              istvan.dezsi Istvan Dezsi
              Participants of an Issue:
              Recent user:
              Csaba Turcsan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                4 years, 45 weeks, 2 days ago

                  Packages

                  Version Package
                  6.2.X EE
                  7.0.0 DXP FP8
                  7.0.0 DXP SP2
                  7.0.3 CE GA4
                  7.1.X
                  Master