Working with an artist who wishes to use Photoshop, RGB mode

This is an archive of a topic from NESdev BBS, taken in mid-October 2019 before a server upgrade.
View original topic
Working with an artist who wishes to use Photoshop, RGB mode
by on (#71495)
My artist is primarily familiar with photoshop, and wished to use it as her primary tool for creating art for the NES. In addition, she feels much more comfortable with a pure 24 bit, RGB format than with an indexed color format. This produced an interesting challenge for me when writing my own personal screen tool (similar to shiru's tool, but specific to my needs). What seems to happen is that, even though one may have turned off all anti aliasing features of photoshop, every now and then it screws up and changes an RGB value slightly between adjacent pixels. Even if she picks from a constant set of colors this seems to happen. So, my screen tool has the capability of detecting small differences in color and "flattening" all such pixels to the same color. After this is done, it makes sure that what the artist has drawn is displayable on the NES (correct use of attributes, does not exceed 13 colors, etc.). If there are any errors at this point, it generates "error report" bitmaps with bright markers around the problem squares (16x16 squares for bg, 8x8 for sprites). This has been immensely helpful when working with an artist who is not interested in learning a non-standard tool only available in our community.

I was curious if there are similar error correcting/reporting bitmap importing tools out there, or if anyone else has a similar situation with their artist. If not, hope it was interesting anyway :D

by on (#71501)
Honestly, to make pixel art you need an artist who able to make proper pixel art, not something that maybe could be converted somehow.

Some pixel artists use Photoshop, though, and I've heard that someone made a custom plugin that checks/fixes an image for certain limitations.

by on (#71507)
Shiru wrote:
Honestly, to make pixel art you need an artist who able to make proper pixel art

Unless working around your artist's limitations is cheaper than hiring another artist.

by on (#71510)
Using Photoshop for pixel art doesn't make much sense, since its strong point is image filtering and processing, things you absolutely don't need in this case. But since that's the only thing your artist is going to use, it's your job to adapt everything. I wouldn't worry about programming my own conversion code though, that seems like a huge waste of time.

I think the first step would be to give the artist a palette, so that only those colors are used. Like you said, there will probably be slight color variations due to the way Photoshop filters images when scaling them and such, but as long as you have the original palette, you can quickly convert the image to indexed mode and select the clean palette, so that Photoshop itself will remap the similar colors to the one they should all be.

Other than that, I can't think of any other kind of automatic processing you could do. Ideally your artist is aware of the system limitations and will draw accordingly, but if that's not the case you will have to adapt everything yourself, which turns your artist's actual title to "conceptual artist", seeing as you will have to use their work as a base for the final product.

I faced some of that back when I asked my wife (girlfriend back then) to draw me some sprites. I explained the basic limitations, but there was no way she would grasp all of it, so I always had to move some things around, slightly reduce the color count, things like that.

by on (#71535)
I use Ulead Photoimpact a lot, it's a very good program for working with indexed color images. When you need to make it into CHR data, YY-CHR does a great job.

by on (#71536)
tepples wrote:
Shiru wrote:
Honestly, to make pixel art you need an artist who able to make proper pixel art

Unless working around your artist's limitations is cheaper than hiring another artist.
I don't think he is going to fire his wife :)

by on (#71555)
I've done something similar in previous projects, though with an added step. IMHO when you convert something from a high color palette to something limited like NES's it's best to hand convert it. GIMP/Photoshop is just not intuitive enough to convert this, it needs some human touch. For example:

Let's say I want to convert this image to something the NES can use:
Image

If I convert it to NES's palette it looks pretty ugly (to me) and there's too many colors for the NES to handle:
Image

I've narrowed my palette down to 4 colors, and I try to convert it again, but still not even close to what I want:
Image

Then, in this final image I hand drew the pixels over the original art (image) and I'm happy with the result. (Though on a real NES on a CRT the dithering would probably look bad :) )
Image

EDIT: If you want I can take a piece of your art and hand convert it in a [private if you wish] video as an example.

by on (#71558)
I may have described our process inadequately. My artist starts out drawing to NES color constraints. It is already as close as she can get it to "being a screen shot the NES can display." What my importer does is correct small anti aliasing errors that photoshop introduces despite having turned off all anti-aliasing. This allows her to have it be "close enough" and not cause us too many problems, thus working around her lack of desire to learn a new tool :D

What seems to happen, for example, is say she's using black, RGB: 1, 1, 1. Sometimes, even with anti aliasing turned off, photoshop will write 0, 0, 0 to an adjacent pixel instead. My program will interpret both 1, 1, 1 and 0, 0, 0 as the same color because they are similar to within a certain percentage. This seems to work well since the NES only has a small number of colors---most of the errors that have occurred for us are well within the difference of colors in the real NES palette. So, she can simply use a bitmap of the NES master palette while drawing, and our importer will match colors as best it can. The results usually turn out pretty good...though I recognize this is rather quirky and probably won't be useful to more than a very small minority of nes devrs out there. I thought I'd find out though =)

Cartlemmy, that's pretty neat. My avatar is also me but not in 8 bit style. It'd be neat to see what that looks like 8 bit style, but I'd feel like I was copying you =D

by on (#71561)
Gradualore wrote:
I may have described our process inadequately... ...I thought I'd find out though =)

Oh! sounds like you've got it handled :)

Gradualore wrote:
Cartlemmy, that's pretty neat. My avatar is also me but not in 8 bit style. It'd be neat to see what that looks like 8 bit style, but I'd feel like I was copying you =D

I've always wondered if it was you or not. And I'm sure I copied about 1,000 others with my avatar style.

by on (#71589)
Image
And here's my cheesy 10 minute Photoimpact job...

by on (#71591)
Dwedit wrote:
10 minute

Really!? To me it looks like an automatic color reduction that would take around 1 minute to make, upload AND post. cartlemmy's actually looks like it used a lot of manual adjustments.

by on (#71595)
Dwedit wrote:
And here's my cheesy 10 minute Photoimpact job...

I like the fact that this has a natural look to it.

tokumaru wrote:
cartlemmy's actually looks like it used a lot of manual adjustments.

Lol, it did. Hand adjusting images pixel by pixel is an addiction for me.

by on (#71598)
tokumaru wrote:
Dwedit wrote:
10 minute

Really!? To me it looks like an automatic color reduction that would take around 1 minute to make, upload AND post. cartlemmy's actually looks like it used a lot of manual adjustments.


10 minutes from seeing the thread to appearing on imgur.com.
There were some adjustments made from a simple color reduction. I like the method where you reduce the colors, THEN remap the palette. Only problem is that Photoimpact's "Color on screen" feature broke in Windows XP, so it takes longer to assign the palette colors.

I actually reduced this to 5 colors, then merged two colors together.

Things I don't like about Photoimpact is that nearest neighbor resizing is broken (need to screen capture Zoom mode!), and the Color On Screen feature for building palettes is broken, so it takes way too long to build palettes.

by on (#71599)
Dwedit wrote:
I like the method where you reduce the colors, THEN remap the palette... ...I actually reduced this to 5 colors, then merged two colors together.

Agreed, this seems to be the best "quick and dirty" way of doing things.

by on (#72071)
Gradualore wrote:
I may have described our process inadequately. My artist starts out drawing to NES color constraints. It is already as close as she can get it to "being a screen shot the NES can display." What my importer does is correct small anti aliasing errors that photoshop introduces despite having turned off all anti-aliasing. This allows her to have it be "close enough" and not cause us too many problems, thus working around her lack of desire to learn a new tool :D

What seems to happen, for example, is say she's using black, RGB: 1, 1, 1. Sometimes, even with anti aliasing turned off, photoshop will write 0, 0, 0 to an adjacent pixel instead. My program will interpret both 1, 1, 1 and 0, 0, 0 as the same color because they are similar to within a certain percentage. This seems to work well since the NES only has a small number of colors---most of the errors that have occurred for us are well within the difference of colors in the real NES palette. So, she can simply use a bitmap of the NES master palette while drawing, and our importer will match colors as best it can. The results usually turn out pretty good...though I recognize this is rather quirky and probably won't be useful to more than a very small minority of nes devrs out there. I thought I'd find out though =)

Cartlemmy, that's pretty neat. My avatar is also me but not in 8 bit style. It'd be neat to see what that looks like 8 bit style, but I'd feel like I was copying you =D

Oh man, I know what you're talking about with Photoshop and I hate it. I mean, I like Photoshop in general, but not for pixel art purposes! I forget when I first learned about this automatic color changing even when you've disabled everything that ought to do that...I think I was editing some screen shots, and every time I used a brush or fill bucket I was inadvertently changing all the colors. Finally I compared two sprites side by side and noticed that one was visibly lighter than the other. That was when I switched to MSPaint and more accurate programs like GraphicsGALE. :) Why in the world would you want colors to change like that?
Can't spell Photoshop without photos
by on (#72074)
Photoshop assumes you're working on photos. Edges in photos are soft due to imperfect focus, interpolation in the camera to compensate for Bayer-dithered image sensors, and the nonzero size of pixels in the image sensor. The JPEG lossy compression used on photos introduces additional artifacts along edges, where colors are close but not exact to the intended color. Fuzzy fill algorithms fill the color under the action point and additional colors close to it, possibly proportionally mixing in pixels whose color is far enough from the original color. It sounds like Photoshop is using at least such a fuzzy fill. GIMP can use one or not depending on the Tool Options.