To participate you must create an account on apostrophenow.org. If you have already done so, click Login.

Ticket #94 (closed enhancement: fixed)

Opened 2 years ago

Last modified 2 years ago

24bit PNG: Preserve Alpha

Reported by: johnnyoffline Owned by: boutell
Priority: major Milestone: 1.4
Component: apostrophePlugin: Media Version: 1.0
Keywords: png, aSlideshow, aImage, aButton Cc: johnnyoffline, hillerj, rickybanister, geoffd
Symfony version: 1.4

Description

Tom,

I'm going to give you two options here.

1. app.yml
Let me set the default matte color for transparent images for NETPBM or GD or whatever is doing it. The default black background has to go.

2. slot option
It would even be more incredible if this matte color option could be set at the slot level. That could then be extended to variants - I don't know what kind of implications this has for generating thumbnails etc. so that's why it's your second option.

--

As you know, the majority of the sites we make end up being predominantly white so the default should at least be white.

I don't know where this gets set, I suspect it's server level ish. But it's definitely time we at least give ourselves the ability to deal with this at the site level.

:D

Thanks

Change History

Changed 2 years ago by johnnyoffline

Of course, more insanely great than setting a matte color would be to allow for creating thumbnails with an alpha channel. But I'm not Ronald Reagan and we're not building Star Wars!

Changed 2 years ago by blinkPete

It would be increadibly awesome if the alpha channel could be made to work for both graphics libraries with the media plugin.

Changed 2 years ago by rickybanister

  • summary changed from 24bit PNG Default Background Color to 24bit PNG: Preserve Alpha

Tom,

Change of plans. Please research new NetPBM protocols for preserving alpha transparency on uploaded pngs. The button slot really needs this help.

We don't need to set a matte color at all, people should do that in photoshop then upload the image as they want it finalized.

Changed 2 years ago by boutell

  • status changed from new to closed
  • resolution set to fixed

We now have true alpha for PNG uploads if you are using gd. You can expressly shut off netpbm via app.yml.

Support in netpbm will be a separate ticket.

Note: See TracTickets for help on using tickets.