Brad Fitzpatrick (brad) wrote in fotobilder,
Brad Fitzpatrick
brad
fotobilder

Tinting

I was working on shadows for pictures/thumbnails and realized it'd be really convenient if the palette alter code code do tinting as well as its normal index changing and gradients.

None of this would be necessary, of course, if all browsers (well, IE) would support alpha PNGs properly.

But until that's done, we need to use palette altering to make the GIF/PNG shadows match the background of the page. (we'll also offer the PNG alpha shadow option, with a warning that it won't work everywhere)

Demos:

Normal GIF: (generally we'll be tinting greyscale pics, but this works too)


Changing color index 1: (you've already seen this)


Tinting the whole image: (this is new)


And it works on PNG files too: (also, unified palette handling in last patch)


Next up... shadows!
Subscribe

  • 302: lj_dev

    In the interests of consolidating all FotoBilder development-related discussion, we're going to be closing down this community. The same…

  • Development stalled?

    Is the development of Fotobilder held? Stalled? I am asking because there is no activity on the community and there is no link to the Fotobilder…

  • (no subject)

    Does FotoBilder works with Apache2? I installed all the required modules on my debian sarge, and when I restart my apache server, it dies horribly…

  • Post a new comment

    Error

    Comments allowed for members only

    Anonymous comments are disabled in this journal

    default userpic
  • 0 comments