AuthorTopic: Online Pixel Image Spec Tool  (Read 2242 times)

Offline Hatch

  • 0001
  • *
  • Posts: 29
  • Karma: +0/-0
  • Half man, half human
    • View Profile

Online Pixel Image Spec Tool

on: March 12, 2010, 10:36:50 pm
Hello! I made an online image specs dumper thing. It gives you all the specs of an image, like colors, width/height, frames, etc. Please use it if you find it helpful and let me know how I can improve it.

Offline 7321551

  • 0010
  • *
  • Posts: 121
  • Karma: +1/-0
  • a.k.a. Jarrad
    • View Profile

Re: Online Pixel Image Spec Tool

Reply #1 on: March 13, 2010, 12:32:23 am
Neat. This is probably more convenient than opening my image editor constantly!

Two suggestions:
  • Maybe display palette color-depth, ie. conforms to 9-bit RGB (Mega Drive), 15-bit RGB (SNES, DS), etc.
  • Decimal values in addition to hex values (more usable in some programs) - might be cluttered to display both, maybe a radio button or something.

Not sure if alpha transparency is meant to be supported, but this image crashes it - "website is temporarily unavailable". Not a big deal with pixel art anyway.
edit: urr - actually, the transparency in that image is fake, so it's probably just way too many colors.
« Last Edit: March 13, 2010, 12:37:56 am by 7321551 »

Offline Hatch

  • 0001
  • *
  • Posts: 29
  • Karma: +0/-0
  • Half man, half human
    • View Profile

Re: Online Pixel Image Spec Tool

Reply #2 on: March 13, 2010, 12:50:18 am
Hey, thanks for your input! Alpha transparency does work, but yes, that image has too many colors indeed. I'd actually intended to put a check on it to skip images with a crazy number for the sake of my cheap hosting plan, but I plain forgot :P
I'll do that as soon as I can. No more stress tests in the meantime please :)

Not sure how I'll display decimal values in an uncluttered way. I was gonna make a JS show/hide button for the hex, so maybe I can just have two.

Offline Mathias

  • 0100
  • ***
  • Posts: 1794
  • Karma: +2/-0
  • im not real
    • http://pixeljoint.com/p/9542.htm
    • View Profile

Re: Online Pixel Image Spec Tool

Reply #3 on: March 13, 2010, 04:11:06 am
Nice, Hatch! It's fast!

The Palette Sorter tool is worth mentioning here then.

It would be great if your Pixel Image Spec (PIS) tool would output a palette, too. How to sort it, though? You alreadyThis easily begins to feel like feature bloat, so it's just a suggestion. I get in trouble for feature creep all the time.

-I fed PIS a web address by accident and got "Exception 450: no data returned `http://2ddr.com/index.php?prime=sortpal'" It ought to just say something less programmerish like, "Sorry, no valid image found" or something like that when there is no actual image specified

-If the color count exceeds 256, it's not an indexed image and therefore most likely not pixel art. Once 256 is exceeded the operation could either abort or PIS kicks into some other mode of operation. I see no reason for a crash.

-If you don't output a palette, imagine someone wanting to extract the palette for storage in their palette library or use for a project. Besides manually selecting each hex in their graphics program of choice, one by one, all they can do is screenshot PIS's "hex table". The hex values being printed right on the color swatches is a problem at this point. The space between each swatch is also a problem. So how about a toggle switch to hide all text and reduce all cell margins to 0, as maybe make each cell square as well. A toggle, or just another instance of the palette displayed per the previous criteria. Doubt you agree with all that, but you still see what I'm getting at here.

-One big field for multiple pic addresses is rather odd. Why not multiple single line fields?
« Last Edit: March 13, 2010, 04:13:16 am by Mathias »

Offline Hatch

  • 0001
  • *
  • Posts: 29
  • Karma: +0/-0
  • Half man, half human
    • View Profile

Re: Online Pixel Image Spec Tool

Reply #4 on: March 15, 2010, 01:56:14 pm
Nice, Hatch! It's fast!
Thanks! I have nothing to compare it to, so I'll take your word for it.

The Palette Sorter tool is worth mentioning here then.
Great tool! I was not aware of it.

It would be great if your Pixel Image Spec (PIS) tool would output a palette, too. How to sort it, though? You alreadyThis easily begins to feel like feature bloat, so it's just a suggestion. I get in trouble for feature creep all the time.
This is certainly possible, and a good idea, but I'd say it's a fairly low priority for now. Incidentally, that's an unfortunate acronym :<

-I fed PIS a web address by accident and got "Exception 450: no data returned `http://2ddr.com/index.php?prime=sortpal'" It ought to just say something less programmerish like, "Sorry, no valid image found" or something like that when there is no actual image specified
Fixed!

-If the color count exceeds 256, it's not an indexed image and therefore most likely not pixel art. Once 256 is exceeded the operation could either abort or PIS kicks into some other mode of operation. I see no reason for a crash.
Fixed! Although I made the limit much higher than 256 (5000, to be exact). I've tested it with 1000+ and it did fine. I disagree that being over 256 makes something not pixel art. Lots of large iso scenes, for example, will exceed that number. Anyhoo, this perhaps has uses beyond pixel art. It supports partial trans, for one thing. Not that something with partial trans automatically makes it not pixel art... but I digress.

-If you don't output a palette, imagine someone wanting to extract the palette for storage in their palette library or use for a project. Besides manually selecting each hex in their graphics program of choice, one by one, all they can do is screenshot PIS's "hex table". The hex values being printed right on the color swatches is a problem at this point. The space between each swatch is also a problem. So how about a toggle switch to hide all text and reduce all cell margins to 0, as maybe make each cell square as well. A toggle, or just another instance of the palette displayed per the previous criteria. Doubt you agree with all that, but you still see what I'm getting at here.
nodnod. I didn't really design it for people to extract palettes from images, but this potentially enhances usability and doesn't harm anything, so it's a good idea in my book.

-One big field for multiple pic addresses is rather odd. Why not multiple single line fields?
Flexibility. One can easily paste large lists if they want, and they can do as many as they want with no arbitrary limit of available fields. This does not harm usability much in my opinion and I vastly prefer it over multiple boxes. Will probably keep it this way unless I'm shouted down.

Thanks for your input!