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 72873 - Incorrect RGBA resampling in Fractal Trace plug-in
Incorrect RGBA resampling in Fractal Trace plug-in
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: Plugins
1.x
Other All
: Normal normal
: ---
Assigned To: GIMP Bugs
Daniel Egger
Depends on:
Blocks: 70335
 
 
Reported: 2002-02-27 17:32 UTC by Raphaël Quinet
Modified: 2005-01-01 21:56 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed patch (3.04 KB, patch)
2003-03-02 03:03 UTC, Yeti
none Details | Review

Description Raphaël Quinet 2002-02-27 17:32:56 UTC
If two pixels have different opacity values (alpha channel), then their
colors are not averaged correctly by the Map->Fractal Trace plug-in.  The
problem is already visible in the preview window.

It looks like the RGB channels are resampled without taking the opacity
into account.  As a result, the (invisible) color of a transparent pixel
can bleed into an opaque pixel.  The resulting image is incorrect.

See bug #70335 for some test images and a longer description of the
problem.  This problem affects many other tools and plug-ins.
Comment 1 Yeti 2003-03-02 03:03:20 UTC
Created attachment 14719 [details] [review]
Proposed patch
Comment 2 Yeti 2003-03-02 03:04:55 UTC
Attached a patch against 1.3.12.

The preview fix is... well, what we really need is a working gimp_preview.
Comment 3 Sven Neumann 2003-03-17 11:19:46 UTC
2003-03-17  Sven Neumann  <sven@gimp.org>

	Applied patches from David Necas <yeti@physics.muni.cz> that fix
	incorrect RGBA resampling in a number of plug-ins:

	* plug-ins/common/fractaltrace.c: fixes bug #72873.
	* plug-ins/common/tiler.c: fixes bug #72875.
	* plug-ins/common/waves.c: fixes bug #72870.
	* plug-ins/common/whirlpinch.c: fixes bug #72871.