3,411 reputation
423
bio website vyznev.net
location Helsinki, Finland
age
visits member for 2 years, 4 months
seen yesterday

I like programming in Perl and C. I know Java and PHP too (I'm a MediaWiki developer), but I can't really say I like them. I keep meaning to learn Python some day, but never seem to get around to it.

I'm working on a Ph.D. in biomathematics. I also like programming puzzles and cryptography.

Please consider any (original) code I post to Stack Overflow (and other Stack Exchange sites) to be released under CC-Zero unless stated otherwise. You may do whatever you want with it and don't have to credit me in any way, although of course that would be nice.


Apr
12
comment How to create a crisp favicon
What exactly do you mean by "crisp"? Can you show an example of a "crisp" favicon? The icon you've posted looks about as crisp as it can be at 16x16 pixels. You could make it look sharper yet by getting rid of the anti-aliasing, but that would also make it look pixelated.
Apr
11
comment Why is it that this color gradient is so much more attractive than others?
Note that this is somewhat complicated by display gamma. To get an accurate luminescence value for a display RGB color, you should first apply gamma correction to convert the R/G/B values to a linear color space before averaging them using your formula. For a typical display gamma of 2.2, the correct formula is thus L = ( 0.2126 R^2.2 + 0.7152 G^2.2 + 0.0722 B^2.2 )^(1/2.2).
Apr
11
comment How can I represent speed in a graphic?
Wouldn't it generally be better to start with a shorter motion blur and just move the blurred layer so that the leading edge aligns with the original object? You can then use masking to fine-tune the effect if you want.
Mar
23
comment What factors do these colors share?
IMO, your rotated palette has a lot more apparent variation in saturation and luminosity than the original. I'd presume that's because the software you used to rotate it didn't use a gamma-corrected and/or visually uniform color space.
Jan
9
comment What's the most efficient way to “blank” old comic word balloons while retaining paper texture?
Also, if at all possible, do this before saving the images as JPEG. In the example images above, you can see that, even though the text itself is gone, some of the compression artifacts around it are still there. You'll get much better results with less trouble if you do this with the raw, uncompressed scans instead.
Jan
9
comment What's the most efficient way to “blank” old comic word balloons while retaining paper texture?
+1, this is what I would've suggested. One tip worth noting is that, if you want to do this to a lot of text at once, it can be useful to start by making a small separate layer filled with blank paper texture and then using it as a texture source. This speeds up the synthesis process (since there will be fewer rejections) and makes sure that it doesn't accidentally end up copying pieces of the surrounding drawing. Also, the full plugin (as opposed to the "heal selection" script) has a lot of setting you can play with to adjust the results.
Oct
27
comment How to make an image with transparent text on an opaque background?
I edited your question to make it clearer that you're not asking for us to design a logo for you, but simply how to achieve the transparency effect you want. At least, I assume that's what you're asking. (For the logo design, you're on your own; requests for free design work are off topic here.)
Oct
27
comment Photoshop - turn white transparent, specifically preserving shadows - new issue
If you can render the object on both a black and a white background, you can apply the answer I gave to this question to reconstruct the transparency. Note that, depending on how you do the background color change, this may result in the reflections also becoming semitransparent (which may actually be desirable).
Sep
19
comment How to select text layers below or behind other text layers in GIMP?
Related: graphicdesign.stackexchange.com/questions/13390/…
Sep
5
comment How to get motivated when drained
+1 for music and exercise, whether together or separately.
Sep
5
comment How to get motivated when drained
Forums can be a double-edged sword, though: if you're not motivated to work on what you're supposed to be doing, you may just end up spending all day (or all night) on the forum instead. But sometimes, it can indeed work, you just need to be careful.
Sep
3
comment Is there an icon set for displaying “All”, “Some”, and “None” states?
I've always found this convention incredibly counterintuitive: the "partially selected" boxes are completely filled in, while the fully selected ones only have a small mark in them. I'd find almost any other symbol for a partial selection (like, say, a + in the square to show that you have to expand it to see what's selected and what isn't) more intuitive.
Sep
3
comment Animating in Gimp with transparency
possible duplicate of Making GIF in GIMP from set of PNG's, resulting in the screen filled with all layers
Sep
3
comment How to remove every second frame from an animated gif?
In fact, you don't need a loop at all: gifsicle "$1" --unoptimize $(seq -f "#%g" 0 2 $numframes) -O2 -o "$2" will do it in one call.
Sep
3
comment How to remove every second frame from an animated gif?
Note that your deletion loop can be simplified to just let i=0; while [[ $i -lt $(($numframes / 2)) ]]; do gifsicle $2 --delete "#$i" -o $2; let i=i+1; done
Aug
26
comment What font does the logo for East Photographic use?
Nice find, but there's a whole bunch of little details in the logo (e.g. the serifs on the "s") that match Century Schoolbook better than any of the Grad variants. I'd say it's either some other derivative of Century Schoolbook that we haven't found yet, or just custom work based on it.
Aug
14
comment Identify these fonts used on receipts
+1 for Carbon. Another very similar font, also from T-26, is Automate.
Jul
24
comment Better image compression by combining images?
Combining your images into a sprite sheet does allow somewhat better compression, too, if they contain similar elements. In fact, you may want to run your finished sprite sheet through an efficient (but slow) compressor like PNGOUT to make most of this benefit.
Jul
17
comment What is the best way to create light-weight PNG images?
@Adam: Actually, no, they don't. Pngcrush and optipng both use zlib for the compression, whereas pngout uses its own, slower but more efficient, compression routine. Anyway, I did a quick unscientific test to confirm this, starting with commons.wikimedia.org/wiki/… scaled down to 320 x 240 px in the GIMP (57190 bytes). Both pngcrush (with or without -brute) and optipng (with -o3 or higher) produced identical output files of 57012 bytes each, while pngout compressed the image down to just 55533 bytes (as did using optipng and pngout in sequence).
Jun
14
comment My Screenshoots are “too light” for printing
Note the your multiply-by-itself trick is basically equivalent to applying gamma expansion with a gamma value of 2.0.