westei / thumbnailator

Automatically exported from code.google.com/p/thumbnailator
Other
0 stars 0 forks source link

Watermark position incorrect for images re-oriented using EXIF metadata #56

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Use a portrait-oriented image, oriented using EXIF metadata.
2. Use the following code:

  Thumbnails.of("path/to/image")
    .size(100, 100)
    .watermark(Positions.BOTTOM_RIGHT, blueDotWatermark, 0.5f)
    .toFile("incorrect-position.jpg");

What is the expected output? What do you see instead?

The watermark should be located at the bottom right-hand corner, but the it is 
located in the bottom left-hand corner.

See attached image.

Original issue reported on code.google.com by coobird...@gmail.com on 5 Sep 2013 at 3:01

Attachments:

GoogleCodeExporter commented 9 years ago
A fix has been created, and this should be rolled into the next release.

Original comment by coobird...@gmail.com on 5 Sep 2013 at 3:49

GoogleCodeExporter commented 9 years ago

Original comment by coobird...@gmail.com on 6 Sep 2013 at 6:16

GoogleCodeExporter commented 9 years ago
This issue has been addressed in Thumbnailator 0.4.6.

Original comment by coobird...@gmail.com on 8 Sep 2013 at 5:18