Croppie: Bug with cropping rotated image

Created on 8 Jul 2019  路  7Comments  路  Source: Foliotek/Croppie

Expected Behavior

Cropped image should be the same as in a viewport while editing

Actual Behavior

After rotation and moving viewport to the right bottom corner it crops too much and image gets filled with black pixels

Steps to Reproduce the Problem

  1. Open up example link
  2. Click rotate button (one time)
  3. Move viewport (the visible part of the image) to the right bottom corner
  4. Click Croppie button

    _*image height should be greater than width_

Example Link

Codepen

Version 2.6.4

Most helpful comment

Hi,
Same issue, I suggest this fix https://github.com/Foliotek/Croppie/pull/711/commits

All 7 comments

Same issue

This bug appears to have been introduced in version 2.6.3. Downgrading to 2.6.2 fixes this issue.

We are experiencing the same problem in version 2.6.4, only the picture gets filled with white pixels. Downgrading to 2.6.2 fixed it.

I have the same problem version 2.6.4, picture filled with black pixels.
The downgrade to 2.6.2 fixed it.

works on 2.4.1

Hi,
Same issue, I suggest this fix https://github.com/Foliotek/Croppie/pull/711/commits

It looks like this was fixed in version 2.6.5.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

cannond13 picture cannond13  路  6Comments

nueverest picture nueverest  路  8Comments

tpilitis picture tpilitis  路  5Comments

iKonrad picture iKonrad  路  8Comments

oystehei picture oystehei  路  6Comments