Closed (duplicate)
Project:
Drupal core
Version:
8.0.x-dev
Component:
image system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
20 Jul 2010 at 11:38 UTC
Updated:
28 Apr 2015 at 15:25 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
aspilicious commentedGood to go for me, someone else willing to rtbc?
Comment #3
aspilicious commentedgd_transparency.patch queued for re-testing.
Comment #4
marcingy commentedHappy to mark as RTBC.
Comment #5
marcingy commentedgd_transparency.patch queued for re-testing.
Comment #6
sungd_transparency.patch queued for re-testing.
Comment #7
dries commentedThere are a couple of other instances of this pattern in the code. Shouldn't we fix those for consistency?
Comment #8
marcingy commentedAdding check other occurences of this pattern. Moving to d8 as it needs to be fixed there first.
Comment #10
marcingy commented#8: colour-index-859304-8.patch queued for re-testing.
Comment #11
scor commentedreroll for D8. patch successfully tested on both D7 and D8.
Comment #12
marcingy commentedNot sure if I can really rtbc but given that #11 obviously involved a review of my patch.....
Comment #13
chx commentedThanks for working on this patch. It could use an automated test before it is committed. If you need help you can ask the friendly people in the #drupal-contribute IRC channel.
Comment #14
wojtha commentedRelated issues:
#100276: Transparent pixels become black when image is resized.
#204497: Make the background fill color configurable where image styles result in blank space
Comment #15
holdmann commented#8 works fine for me =)
Comment #16
Honestly Illustrated commented#8 RTBC on D 7.22, fixed two flaws:
Warning: imagecolorsforindex(): Color index 6 out of range in image_gd_create_tmp() (line 310 of /var/www/modules/system/image.gd.inc).... the gif which popped that error, when passing through unpatched D 7.22, was having that color index trashed on the resulting thumbnail. Patch in #8 also solves that.
Thank you much, and please backport this so we don't have to reapply patch at next upgrade.
Comment #17
claudiu.cristeaAny takers for #11 reroll + test?
Comment #18
ydahi11: 859304_11_imagecolorsforindex.patch queued for re-testing.
Comment #21
quotesbro commented#375062: imagecolorsforindex() Color index nnn out of range in GDToolkit is similar to this issue
Comment #22
pjcdawkins commentedThe patch in #8 no longer applies - it looks like this was fixed in D7 here: #375062: imagecolorsforindex() Color index nnn out of range in GDToolkit
Comment #23
mondrakeLet's close this then.