Difference between revisions of "User talk:Deadcode"

From Worms Knowledge Base

Jump to: navigation, search
m
(large weapon icons)
Line 31: Line 31:
 
:::By the way, when uploading PNG (or when SVG doesn't work), "it's a common mistake to upload a scaled-down, lower-resolution image to [[commons:Main Page|Commons]] than the original image. [http://commons.wikimedia.org/wiki/Commons:Media_for_cleanup#Pictures_that_are_scaled_down_from_their_original_resolution]" [[User:Explorer09|Explorer09]] 03:48, 22 July 2009 (UTC)
 
:::By the way, when uploading PNG (or when SVG doesn't work), "it's a common mistake to upload a scaled-down, lower-resolution image to [[commons:Main Page|Commons]] than the original image. [http://commons.wikimedia.org/wiki/Commons:Media_for_cleanup#Pictures_that_are_scaled_down_from_their_original_resolution]" [[User:Explorer09|Explorer09]] 03:48, 22 July 2009 (UTC)
  
::::That would be redundant, as MediaWiki already renders SVGs in PNG format (wkb is now configured to use rsvg for this). It was broken for a little while today, but is fixed now. —[[User:Deadcode|Deadcode]] 03:56, 22 July 2009 (UTC)
+
::::Misread your statement at first as "it's common to upload a scaled-down, lower-resolution image..." and now that I'm reading it correctly, I'm not sure why you're bringing this up. —[[User:Deadcode|Deadcode]] 04:01, 22 July 2009 (UTC)

Revision as of 04:01, 22 July 2009

Image:W2_WeaponPanel.png

Do you have the un-palettized version of all weapon icons (including W2 ones)? If yes, will you please update the image with those icons?

Explorer09 23:13, 10 July 2009 (UTC)

Done :)

Deadcode 02:28, 11 July 2009 (UTC)

thanks a lot! Explorer09 03:59, 11 July 2009 (UTC)

large weapon icons

Where do you get those super-high-resolution icons? Are they vector version? Explorer09 03:42, 21 July 2009 (UTC)

A member of our alpha testing team had 500x500 renders of the icons sitting on his hard disk. They're dated 9 Jan 2001 and he doesn't remember how they got there. They're saved in sRGB, and I determined that they must've been converted to sRGB from a gamma 1.8 color profile with a larger gamut (but it's not Apple RGB or any well-known profile); there's some hue shift and saturation clipping, but I reverse-engineered the color profile's CIE xy parameters and can reverse it to match the colors the game uses without color management. —Deadcode 04:06, 21 July 2009 (UTC)

I see. But why are you scaling down the image to 250x250? Explorer09 04:13, 21 July 2009 (UTC)
Well, I thought 500x500 was somewhat excessive for WKB, and I don't like to scale things down by non-integer divisors. If I had a way to render them from the Animo files (which I don't, but may someday), what resolution would you choose? —Deadcode 04:34, 21 July 2009 (UTC)
MediaWiki supports SVG, which would allow you to request images of any size. The problem is, of course, converting the curves and gradients to something supported by SVG. --Vladimir 04:35, 21 July 2009 (UTC)
I think most vectorizing software is designed to work on photos or scans, not images that were originally vector, so they don't give precise results. The best solution would probably involve writing a vectorizer directed specifically at Animo's quirks (such as sharpening edges, and rendering some borders at 1 pixel thick regardless of resolution, especially in the Minigun icon). —Deadcode 04:48, 21 July 2009 (UTC)
"I think most vectorizing software is designed to work on photos or scans, not images that were originally vector" - not really. Here's an example vectorization. --Vladimir 05:19, 21 July 2009 (UTC)
That's a very good vectorization (not 100% precise, but it looks great) — but to be fair the Donkey is very easy to vectorize; it's almost exclusively a bunch of nested closed curves that for the most part don't overlap. —Deadcode 05:32, 21 July 2009 (UTC)
By the way, when uploading PNG (or when SVG doesn't work), "it's a common mistake to upload a scaled-down, lower-resolution image to Commons than the original image. [1]" Explorer09 03:48, 22 July 2009 (UTC)
Misread your statement at first as "it's common to upload a scaled-down, lower-resolution image..." and now that I'm reading it correctly, I'm not sure why you're bringing this up. —Deadcode 04:01, 22 July 2009 (UTC)
Personal tools