• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item6720: Colors should allow 'transparent' as a value

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension ChartPlugin Normal Closed   n/a  

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

Colors should allow 'transparent' as a value in addition to the current #RRGGBB values.

-- TWiki:Main/TaitCyrus - 2011-05-12

Allow support for transparent to be used in colors and bgcolor. Mostly to be used with spark* charts so chart backgrounds will blend in with the background they are placed on. So for spark* you would set bgcolor="transparent transparent".

-- TaitCyrus - 2011-05-13

Thanks Tait for working on this!

Reading http://search.cpan.org/~lds/GD-2.46/GD.pm - there is support for transparency:

        open(PNG,"test.png");
        $im = newFromPng GD::Image(PNG);
        $white = $im->colorClosest(255,255,255); # find white
        $im->transparent($white);
        binmode STDOUT;
        print $im->png;

-- TWiki:Main.PeterThoeny - 2011-05-13

ItemTemplate
Summary Colors should allow 'transparent' as a value
ReportedBy TWiki:Main.TaitCyrus
Codebase

SVN Range TWiki-5.1.0-trunk, Tue, 19 Apr 2011, build 21041
AppliesTo Extension
Component ChartPlugin
Priority Normal
CurrentState Closed
WaitingFor

Checkins TWikirev:21225
TargetRelease n/a
ReleasedIn

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r4 - 2011-05-13 - PeterThoeny
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback