Opened 17 years ago

Closed 17 years ago

#1978 closed defect (fixed)

rotated transparent image symbols not transparent

Reported by: jef@… Owned by: sdlime
Priority: high Milestone: 5.0 release
Component: MapServer C Library Version: svn-trunk (development)
Severity: normal Keywords:
Cc: bpederse@…, akrherz@…

Description (last modified by hobu)

when a transparent image symbol is rotated, the rotated copy is not transparent.

Attachments (3)

mapsymbol.c.diff (611 bytes ) - added by jef@… 17 years ago.
bugfix
testcase.tar.bz2 (2.4 KB ) - added by jef@… 17 years ago.
testcase.tar.bz2
1978.tar (50.0 KB ) - added by bpederse@… 17 years ago.
simple self-contained testcase for this bug.

Download all attachments as: .zip

Change History (23)

by jef@…, 17 years ago

Attachment: mapsymbol.c.diff added

bugfix

comment:1 by sdlime, 17 years ago

Status: newassigned

comment:2 by sdlime, 17 years ago

Jurgen: The patch doesn't work for me. Do you have a sample image and mapfile?

Steve

by jef@…, 17 years ago

Attachment: testcase.tar.bz2 added

testcase.tar.bz2

comment:3 by sdlime, 17 years ago

I'd like to quickly get this into 4.10.1. What format is the testcase in?

Steve

comment:4 by jef@…, 17 years ago

attachments.description: testcasetestcase.tar.bz2

comment:5 by sdlime, 17 years ago

Ah, the one compression extension I did not try... Thanks.

Steve

(Note the patch has been applied in both 4.10 and 5.0 it's just that my test 
case doesn't work as expected.)

comment:6 by jef@…, 17 years ago

file helps - at least on Debian ;)

$ file attachment.cgi
attachment.cgi: bzip2 compressed data, block size = 900k

Jürgen

comment:7 by fwarmerdam, 17 years ago

BTW, there is no sign that this patch made it into CVS head (aka 4.99/5.0). 

by bpederse@…, 17 years ago

Attachment: 1978.tar added

simple self-contained testcase for this bug.

comment:8 by sdlime, 17 years ago

Cc: warmerdam@… added
Perhaps I didn't commit when my test case failed. It is in 4.10 though correct?

Steve

comment:9 by fwarmerdam, 17 years ago

Steve - apparently yes.  Someone in IRC was asking about this, which is
why I looked into it. 

comment:10 by bpederse@…, 17 years ago

Cc: bpederse@… added
the patch appears to be in 4.10, but does not resolve the test-case in comment #8

comment:11 by hobu, 17 years ago

Description: modified (diff)
Milestone: 5.0 release
Version: 4.10svn-trunk (development)

comment:12 by akrherz, 17 years ago

Hi,

For what it's worth, I hit this bug tonight with php mapscript 4.10.2 . hobu pointed me to 5.0 beta2 and a potential patch, but neither worked. If I remove the ANGLE, the pixmap is displayed with correct transparency.

daryl

comment:13 by akrherz, 17 years ago

Cc: akrherz@… added

comment:14 by sdlime, 17 years ago

I'll make sure the patch supplied is in place but I recall testing it without success. I'll also check to see if GD 2.34 fixes the problem. Should no by tonite.

Steve

comment:15 by hobu, 17 years ago

Steve, I inadvertently applied this patch when I was putting in a fix for #1962. The changeset was r6566.

comment:16 by hobu, 17 years ago

r6565, rather.

comment:17 by sdlime, 17 years ago

If the patch is in then it's not working. The test case draws the black background for me anyway (GD 2.0.35). Works nicely with AGG however.

Steve

comment:18 by sdlime, 17 years ago

Milestone: 5.0 release5.2 release

The patch was only working for truecolor images so I applied as it was supplied. I still have no luck with the last test case. Can anyone try a couple of other (e.g. 8-bit images) cases and let me know if it works. Deferring to 5.2 otherwise...

Steve

comment:19 by sdlime, 17 years ago

Milestone: 5.2 release5.0 release

My epiphany with #931 got this one fixed too. r6789

Steve

comment:20 by sdlime, 17 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.