The BeadSprites Forum
Welcome to the Beadsprite Forum, a place to show off, share, and comment on pixelized bead sprite creations.
 
Log in to check your private messages

Log in  Register


Profile  Search  Memberlist  FAQ  Usergroups
Photoshop is very useful - Pixel Count

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    The BeadSprites Forum Forum Index -> Tutorials
View previous topic :: View next topic  
Author Message
DoctorOctoroc
Lvl. 7
Lvl. 7


Joined: 01 Jan 2008
Posts: 712
Location: Philly

PostPosted: Wed Jan 09, 2008 8:42 pm    Post subject: Photoshop is very useful - Pixel Count Reply with quote

Hey all. Just found something you might find as useful as I did.

In Adobe Photoshop, you can find out exactly how many pixels are within a selected area.
Why would you want to do this? To know exactly how many of each color bead you'll need, silly (and if you have enough, so you don't run out)!

If you open up the Histogram window and select the Expanded view from the menu within, at the bottom it will return a value in pixels.
If you have selected nothing, it will tell you the number of pixels in the whole image. However, use the Magic Wand Tool to select a single color (make sure anti-alias and contiguous boxes are UNchecked) and it will return the value of the pixel area of that color. Here's the values of the Samus Ship I'm working on:



Keep in mind, these are the values of the finished piece, not what is pictured. I just used that image because I have no image of the finished piece, since it is not finished...you know...because I ran out of yellow. However, had I known this...I would have been better prepared.

This may also be very useful if you sell Perler Sprites, because you can calculate exactly how much it costs to make each piece.

For example:
I get black and red in bags of 6000 which cost me $10.99 each
- Therefore, each bead costs $0.00183 cents
I get the rest of the colors in 1000 bags, at $2.79 each
- Therefore, each bad costs $0.00279 cents

So, add the black and red quantity to get 4,052 and multiply that by .00183 to get $7.42.
Add the rest of the colors quantities to get 6,742 and multiply that by .00279 to get $18.80.
Add these and we get our cost for a HUGE Samus Ship:

$26.22

Not too shabby, I must say. I was hoping to sell it for $250 or so...



Hope this saves some frustration, money and time!

I'm curious tho, for others who have done bigger sprites, how much did they cost!?

- DO


Last edited by DoctorOctoroc on Fri Oct 17, 2008 9:57 am; edited 2 times in total
Back to top
View user's profile Send private message Visit poster's website AIM Address
Sunshine
Lvl. 3
Lvl. 3


Joined: 06 Nov 2007
Posts: 102
Location: Midwest, USA

PostPosted: Thu Jan 10, 2008 1:19 am    Post subject: Reply with quote

Oh man, Doc, after reading a bunch of your posts and seeing how much you spend on beads, I have to bring something up:

KoolStuffForKids is kind of a ripoff. If I recall correctly, they're listed as sellers on the Perler website, but that's about the only thing they have going for them. I made the mistake of ordering through their website once, and was very sad to discover later how badly I'd been gouged.

There are *far* cheaper ways to order supplies, and they take less time to process shipping orders, too.

Here's an example, based on my latest orders from romewith5 and callahan13 on eBay, versus what the KoolStuffForKids website says I would have paid:

romewith5 "Turtle Crossing":
6000 Perler black: $7.50
1000 Perler pearl: $1.95
1000 Perler gold: $1.95

(she also carries a few 1000ct bags of Hama colors, at $2.00 each)

Shipped from South Dakota, USA to Indiana, USA in 3 days (from placing the order to receiving the beads)
Shipping cost (using US Priority Mail): $4.90

Total: $16.30

KoolStuffForKids:
6000 black: $10.99
1000 pearl: $2.79
1000 gold: $2.79

(No Hama selections. SAD)

Shipping cost (using US Priority Mail): $8.00
It doesn't say from where it's shipped, but apparently somewhere in the USA- when I ordered from them, it took over a week for the shipment to arrive

Total: $24.57


callahan13 "Bakers'KidsCraftsBooks&More":
9 bags of 1000 Perler/Hama beads: $15.75

(This seller doesn't charge any different for Hama and Perler beads, so I'm just combining them and using Perler analogues on the KSFK website for comparison)

Shipping (using US Priority Mail): $7.75
This order took 4 days to arrive, from placing the order to receiving the package.

Total: $23.50

KoolStuffForKids:
9 bags of Perler beads: $25.11

Shipping: Still $8.00 for some reason

Total: $33.11


*****
From what you're telling me, you spend a whole lot more than I do in one order anyway, and it looks like you don't get gouged as much on shipping for bigger orders, but there's still a significant difference.

Or maybe I'm thinking about this way too much because I'm a poor college student and $10 is a lot to me when the total order's something like $25.
Back to top
View user's profile Send private message
Anachronox
Lvl. 1
Lvl. 1


Joined: 21 Sep 2007
Posts: 48
Location: AZ

PostPosted: Thu Jan 10, 2008 3:12 am    Post subject: Reply with quote

I think this is nice, simply because I like to copy other peoples sprites as I usually don't have the time to find one I like, and there are so many nice ones out there... this gives a nice indication if nothing else of what colors are needed for each sprite, and at least a rough idea of how many are needed.
Back to top
View user's profile Send private message
DoctorOctoroc
Lvl. 7
Lvl. 7


Joined: 01 Jan 2008
Posts: 712
Location: Philly

PostPosted: Thu Jan 10, 2008 1:07 pm    Post subject: Reply with quote

Sunshine wrote:
Oh man, Doc, after reading a bunch of your posts and seeing how much you spend on beads, I have to bring something up:

KoolStuffForKids is kind of a ripoff. If I recall correctly, they're listed as sellers on the Perler website, but that's about the only thing they have going for them. I made the mistake of ordering through their website once, and was very sad to discover later how badly I'd been gouged.


Yeah, I looked at the other sellers, but I buy so much at a time, and I need ceartain amounts of each bead and that doesn't seem as easy to do through eBay transactions...on the KS4K site, I just check off exactly how many I need of each color and can see it all in front of me before I place the order. I'm a bit of a perefectionist for certain things, in very stupid ways, I'll admit. As far as shipping goes, the cost is reasonable to Philly, and I've gotten the beads in as little as 2 days before (for example, order Wednesday morning, get them Friday afternoon). It's never taken more than 5 days, and that was over New Years, lol.

Anyways, I should look into the other sellers some more. I was a poor college student once too...trading architecture supplies with others instead of buying them from the overpriced art store.

My only concern about buying perler and hama is consistancy. I iron my sprites super flat with no holes, so my concern is, the different brands won't melt evenly...kind of like mixing different brands of acrylic paint, I just won't do it. Have you had any problems with that? If I know the combo will work well with my ironing technique, I have no problem doing it...I just don't know yet.

- DO
Back to top
View user's profile Send private message Visit poster's website AIM Address
Oobgarm
Site Admin
Site Admin


Joined: 19 Apr 2007
Posts: 183
Location: Cincinnati. Ohio.

PostPosted: Thu Jan 10, 2008 2:58 pm    Post subject: Reply with quote

I would gather that this is only available in CS2? I'm not finding it in 7.0, and I think this would be tremendously awesome.
Back to top
View user's profile Send private message Visit poster's website
DoctorOctoroc
Lvl. 7
Lvl. 7


Joined: 01 Jan 2008
Posts: 712
Location: Philly

PostPosted: Thu Jan 10, 2008 3:00 pm    Post subject: Reply with quote

I'm not sure about 7.0 - try looking for it under the IMAGE or WINDOW menu.
Back to top
View user's profile Send private message Visit poster's website AIM Address
Oobgarm
Site Admin
Site Admin


Joined: 19 Apr 2007
Posts: 183
Location: Cincinnati. Ohio.

PostPosted: Thu Jan 10, 2008 3:17 pm    Post subject: Reply with quote

There's a histogram option, but no expanded menus or anything. Looks like I'll finally have to install CS2 and use my other machine, as my usual computer here at work is a Win98 box. (heh, I know)
Back to top
View user's profile Send private message Visit poster's website
DoctorOctoroc
Lvl. 7
Lvl. 7


Joined: 01 Jan 2008
Posts: 712
Location: Philly

PostPosted: Thu Jan 10, 2008 4:21 pm    Post subject: GUTSDOZER Reply with quote

Okay, so I posted in the Sprites You'd Like To Make forum that I would want to make Gutsdozer from Mega Man.

Here is where the pixel count comes in real handy:



Ninja Gaiden 3D and the metroid ship took just over 10,000 beads.
Mega Man X, just under 10,000.

Now that I know the pixel counts, I know this much:
1) This will take me longer than the others.
2) I would need to buy a total of 21 bags (17 of the 1000 bags and 3 of the 6000 bags) if I started from scratch.
3) It will cost me $42.00 to make ($12.81 worth 6000 bags, $29.19 worth of 1000 bags).
4) Gutsdozer is one big f*cker.

See, very useful for us bead-spriters.

- DO


Last edited by DoctorOctoroc on Thu Jan 10, 2008 7:02 pm; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website AIM Address
linkjun



Joined: 01 Jan 2008
Posts: 22

PostPosted: Thu Jan 10, 2008 4:37 pm    Post subject: Reply with quote

You listed Dark Grey and Light Grey as colors in your gutsdozer picture.. where do you find those? Are those Perler bead colors, because I've only seen "Grey" for both Perler and Hama.
Back to top
View user's profile Send private message
DoctorOctoroc
Lvl. 7
Lvl. 7


Joined: 01 Jan 2008
Posts: 712
Location: Philly

PostPosted: Thu Jan 10, 2008 4:52 pm    Post subject: Reply with quote

linkjun wrote:
You listed Dark Grey and Light Grey as colors in your gutsdozer picture.. where do you find those? Are those Perler bead colors, because I've only seen "Grey" for both Perler and Hama.


They don't exist as far as I know. If they ever start making them, that would be ideal.
However, should I decide to make this anyway, those are just colors I would replace later. Most likely, I'd use toothpaste or creme for the light grey and either periwinkle blue or dark brown for the dark grey, depending on how it looked. I feel like I've seen a darker grey somewhere tho.

- DO
Back to top
View user's profile Send private message Visit poster's website AIM Address
linkjun



Joined: 01 Jan 2008
Posts: 22

PostPosted: Thu Jan 10, 2008 4:57 pm    Post subject: Reply with quote

Ah ok, I see. Translucent black can be really useful in black shading, as well as the Hama version of grey.
Back to top
View user's profile Send private message
Darlaa
Lvl. 4
Lvl. 4


Joined: 28 Mar 2007
Posts: 212
Location: norway

PostPosted: Sun Jan 13, 2008 3:02 pm    Post subject: Reply with quote

Hmm. I tried this in photoshop cs3, and i cant see the number of pixels of the whole image.
Maybe I'm blind Razz
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
DoctorOctoroc
Lvl. 7
Lvl. 7


Joined: 01 Jan 2008
Posts: 712
Location: Philly

PostPosted: Sun Jan 13, 2008 3:50 pm    Post subject: Reply with quote

Here is a step by step with pictures to help. As everyone has different versions of PhotoShop and different Platforms, the location of certain options may be different, but the tools should all have the same name, and you can always reference the help file that comes with the program.

Start photoshop and open your file. As I've said before, I like to place my sprite onto a grid that represents the 29x29 peg boards.


(this would be four pegboards)

The image I'm using for this example is FAR larger than any bead sprite I've made so far, it's just something I was considering down the line.
It's Samus, from Metroid: Zero Mission!
I've already re-colored this sprite, as the original had far more colors than could be represented with beads. Keep in mind that you'll want to re-color the sprite BEFORE you count the pixels. For help on re-coloring, check out my Re-coloring Sprites tutorial in this same Free Talk thread.

From the text menu at the top, select WINDOW>HISTOGRAM


(click image for larger view)

Depending on how your Tool Windows are grouped, the histogram may open on a different tab in a group already on display, or it might open as it's own window. For example, I have Histogram grouped with the Info and Navigator windows so when I select it from the WINDOW menu, it opens within that window in my toolsets.

If when you first open the Histogram window, it looks like one of these:



Then it is in compact view. Select the arrow at the top right of the window, just under the "X" button. It should give you the option for an extended view.
Then it will look like one of these:



Okay, having chosen the extended view, it should display a pixel count.


(click image for larger view)

You can see in this picture, where my mouse is located, I am pointing at the pixel count. Since I just opened the file and nothing is selected, it displays all pixels in the image file. This number is the height * width of the image itself.

Okay, so lets count some pixels. Select the Magic Wand tool from the floating toolset on the left.
Its icon looks like this:



Using this tool, you will select a color. But first, check the options for the Magic Wand tool in the bar just below the main text menu.



Make sure of the following:

1) Your tolerance is "0"
2) Anti-alias is NOT checked
3) Contiguous is NOT checked
4) Sample All Layers is NOT checked

Okay, now we can safely select a color.
For this example, I'm going to select the black in the image.


(click image for larger view)

As you can see, PhotoShop will draw a dashed outline around the selection. See, again, where my mouse is, as I am pointing at the number of pixels in the selection. That is the number of black beads you will be using.

Note, also, that if you select the negative space around the sprite, then from the text menu SELECT>INVERSE PhotoShop will draw a dashed outline around the whole sprite. This is the total number of beads.

And that's really all there is to it.



I really hope I'm helping, and not confusing people!

- DO
Back to top
View user's profile Send private message Visit poster's website AIM Address
Darlaa
Lvl. 4
Lvl. 4


Joined: 28 Mar 2007
Posts: 212
Location: norway

PostPosted: Sun Jan 13, 2008 4:18 pm    Post subject: Reply with quote

YaY! it works! Thanks for posting that Very Happy
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Oobgarm
Site Admin
Site Admin


Joined: 19 Apr 2007
Posts: 183
Location: Cincinnati. Ohio.

PostPosted: Mon Jan 14, 2008 11:51 am    Post subject: Reply with quote

I don't know what I was doing wrong...I'm usually pretty good with PS, but this one got by me somehow.

It works, which is great. You've been a tremendous help.

If you're using an older version of PS, like me (7.0), the Histogram option is under the image menu.
Back to top
View user's profile Send private message Visit poster's website
pksage



Joined: 22 Jan 2008
Posts: 2

PostPosted: Tue Jan 22, 2008 1:00 pm    Post subject: Reply with quote

DO (or anyone, really) - Photoshop tends to "wash out" a sprite's colors when compared to Paint, presumably to make photos/etc. it imports more realistic-looking. If I don't want to go through the entire recolor process you laid out in another thread, which is great for big sprites but kind of time consuming for lots of varying smaller ones, how can I set it up to use the original colors?

I have a feeling it's a contrast issue, but I really have no idea.
Back to top
View user's profile Send private message AIM Address
DoctorOctoroc
Lvl. 7
Lvl. 7


Joined: 01 Jan 2008
Posts: 712
Location: Philly

PostPosted: Tue Jan 22, 2008 2:39 pm    Post subject: Reply with quote

pksage wrote:
DO (or anyone, really) - Photoshop tends to "wash out" a sprite's colors when compared to Paint, presumably to make photos/etc. it imports more realistic-looking. If I don't want to go through the entire recolor process you laid out in another thread, which is great for big sprites but kind of time consuming for lots of varying smaller ones, how can I set it up to use the original colors?

I have a feeling it's a contrast issue, but I really have no idea.


It might have something to do with the color mode. If your default color mode in PS is CMYK, then it would appear washed out. Set it to RGB or Indexed Color mode.

If that's not the problem, it's simple to fix. ADJUST > BRIGHTNESS/CONTRAST and set the contrast to around 30-40.

Hope this solves the problem.

- DO
Back to top
View user's profile Send private message Visit poster's website AIM Address
Brainader
Lvl. 2
Lvl. 2


Joined: 22 Jun 2007
Posts: 69

PostPosted: Sun Feb 17, 2008 10:04 pm    Post subject: Reply with quote

Great guide Very Happy Tried it out now, found out my Atma Weapon is 8.364 beads Razz
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    The BeadSprites Forum Forum Index -> Tutorials All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

phpBB "skin" by DewChugr


© 2007-2008 Informe.com. Get Free Forum Hosting
Powered by phpBB © 2001, 2005 phpBB Group
 ::