WIP ASCII art Magic tools; code working!
This commit is contained in:
parent
6a591a2ef1
commit
c9f978b1ca
7 changed files with 181 additions and 35 deletions
|
|
@ -47,10 +47,10 @@
|
|||
</screenshot>
|
||||
</screenshots>
|
||||
<releases>
|
||||
<release version="0.9.34" date="2024-09-24">
|
||||
<release version="0.9.34" date="2024-09-26">
|
||||
<description>
|
||||
<p>New Fill mode: "Eraser" flood fill.</p>
|
||||
<p>New Magic tools: "Comic dots", "Rotate", and various "Fractals".</p>
|
||||
<p>New Magic tools: "Comic dots", "Rotate", "ASCII Computer", "ASCII Typewriter", and various "Fractals".</p>
|
||||
<p>New brush: Fluff (gradient).</p>
|
||||
</description>
|
||||
</release>
|
||||
|
|
|
|||
|
|
@ -11918,7 +11918,7 @@ static SDL_Surface *thumbnail2(SDL_Surface * src, int max_x, int max_y, int keep
|
|||
SDL_GetRGBA(getpixel(src, src_x, src_y), src->format, &r, &g, &b, &a);
|
||||
|
||||
#ifdef GAMMA_CORRECTED_THUMBNAILS
|
||||
/* per: http://www.4p8.com/eric.brasseur/gamma.html */
|
||||
/* per: http://www.ericbrasseur.org/gamma.html?i=1 */
|
||||
|
||||
tr = tr + sRGB_to_linear_table[r];
|
||||
tg = tg + sRGB_to_linear_table[g];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue