PalImg
From No LJ Ads Wiki
PalImg is the software that was developed by
jproulx,
mart and several others that dynamically alters the palette of a given image. It only works with GIF and PNG images.
Contents |
[edit] Functions
[edit] Palette
[edit] Gradient
Source Image: 256 colors, palette-indexed
- Index[0]: #000000
- Index[13]: #dcdcc5
http://stat.livejournal.com/palimg/anovelconundrum/dingbar.gif
Altered Palette:
- Index[0]: #ff0000
- Index[13]: #00ff00
| Mode | pg
|
|---|---|
| Index[0] | 0
|
| Color one | ff0000
|
| Index[13] | 1
|
| Color two | 00ff00
|
| Whole string | pg00ff00001300ff00
|
URL
http://stat.livejournal.com/palimg/anovelconundrum/dingbar.gif/pg00ff00001300ff00
[edit] Replacement
Source Image: 2 colors, palette-indexed
- Index[0]: #a0a0a0
- Index[1]: #c3c3c3
http://www.livejournal.com/palimg/textures/ridge.png
Altered Palette:
- Index[0]: #ff0000
- Index[4]: #00ff00
| Mode | p
|
|---|---|
| Index[0] | 0
|
| Color one | ff0000
|
| Index[1] | 1
|
| Color two | 00ff00
|
| Whole string | p0ff0000400ff00
|
URL
http://stat.livejournal.com/palimg/textures/ridge.png/p0ff0000100ff00
[edit] Tint
Source Image: 256 colors, palette-indexed
- Top row: #ffffff
- Bottom row: #000000
http://stat.livejournal.com/palimg/shadow/t.gif
Altered Palette:
- Color one, top row: 336699
- Color two, bottom row: 6699cc
| Mode | pt
|
|---|---|
| Color one | 336699
|
| Color two | 6699cc
|
| Whole string | pt3366996699cc
|
URL
http://stat.livejournal.com/palimg/shadow/t.gif/pt3366996699cc
[edit] Size
[edit] Shrink
Source Image: 1009px wide x 1650px high
http://pics.livejournal.com/frank/pic/00014rp6
Altered Size:
| Mode | s
|
|---|---|
| Width | 320
|
| Height | 240
|
| Whole string | s320x240
|
http://pics.livejournal.com/frank/pic/00014rp6/s320x240

