IBM Support

PI53212: SAVED IMAGES ARE ROTATED BY 90 DEGREES ON SAMSUNG DEVICES

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Using the DATA_URL option in the cordova-plugin-camera, saved
    images end up being rotated by 90 degrees on Samsung devices.
    This only happens if the photo is taken in
    portrait mode. It will save the photo as landscape by rotating
    it. When tested on Nexus devices, it saves to the photo album
    without any problems.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users of Samsung devices who use the cordova-camera-plugin   *
    * to save an image with the DATA_URL option.                   *
    * * Other devices may be affected                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Using the cordova-camera-plugin to save an image with the    *
    * DATA_URL option will always save the image in landscape      *
    * orientation on certain Android devices. This is problematic  *
    * when taking a picture in portrait orientation because the    *
    * image saves in landscape, rotating the image by 90 degrees.  *
    * This problem was seen on Samsung devices, but Nexus devices  *
    * did not have this issue. Other devices may be affected. To   *
    * fix the issue, the save function for the DATA_URL option     *
    * needed to be changed to save the image with the image        *
    * options instead of just the original image.                  *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * -                                                            *
    ****************************************************************
    

Problem conclusion

  • After applying the iFix, rebuild the application.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI53212

  • Reported component name

    WL/MFPF ENTERPR

  • Reported component ID

    5725I4300

  • Reported release

    630

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-11-26

  • Closed date

    2015-12-08

  • Last modified date

    2015-12-08

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    WL/MFPF ENTERPR

  • Fixed component ID

    5725I4300

Applicable component levels

  • R630 PSY

       UP

  • R700 PSY

       UP

  • R710 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSZH4A","label":"IBM Worklight"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"630","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
14 October 2021