After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 730488 - rotate layer introduces visible corruption
rotate layer introduces visible corruption
Status: RESOLVED FIXED
Product: GEGL
Classification: Other
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: Default Gegl Component Owner
Default Gegl Component Owner
Depends on:
Blocks:
 
 
Reported: 2014-05-21 02:40 UTC by liam
Modified: 2015-05-23 17:15 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
The corruption becomes visible in the eyes of the pure (212.49 KB, image/png)
2014-05-21 02:40 UTC, liam
Details
I can see her eyes (8.45 KB, image/png)
2014-05-22 03:14 UTC, liam
Details

Description liam 2014-05-21 02:40:41 UTC
Created attachment 276914 [details]
The corruption becomes visible in the eyes of the pure

Rotating the image introduces dots and strange patterns. When I say corruption I do not mean Soviet Russian corruption.

To reproduce (where not forbidden)...

1. make a new image 500px x 500px.
   I used 8 bit RGB. There are also problems with 32 bit fp linear,
   but they are less visible.

2. use the bLend tool to make a smooth gradient from black to white; I had
   black at the top of the image to give that Mordor feeling.

3. Rotate by 15 degrees: Control-shift-R.

4. Expected result: a smooth gradient in an angled canvas.

5. Actual result: an uneven gradient in an angled canvas, complete with
   strange dots and/or (depending on bit depth) splodges.
Comment 1 Michael Natterer 2014-05-21 18:38:55 UTC
Works perfectly fine here.
Comment 2 liam 2014-05-22 03:14:06 UTC
Created attachment 276967 [details]
I can see her eyes

With tonight's gegl + gimp it has improved.

However, if you zoom in...

The enclosed attachment is a screenshot after rotate, zoomed in, showing two corrupt pixels (one of them is green!). Image is 8-bit gamma RGB.
Comment 3 liam 2014-06-24 02:53:16 UTC
jkh in IRC pointed out that setting GEGL_LINEAR_BUFFERS=yes in the shell fixes the problem, and indeed it does seem to.
Comment 4 alexander.v.rabtchevich 2014-12-21 08:24:13 UTC
Both the bug and the solution still present in the git master. The bug affects scaling and other transformations.
Comment 5 Øyvind Kolås (pippin) 2015-05-23 17:15:29 UTC
IIRC this bug, as seen by the original reporter, was due to a custom configuration of BABL_TOLERANCE; which was introducing artifacts long suspected of only existing in canada. Closing during spring cleanup of bugzilla.