Mobile app version of vmapp.org
Login or Join
Hamaas979

: Non-contiguous stroke (pixels touching diagonally) in Photoshop I need to make a few custom subtitle bitmaps for a DVD. The trouble is that DVDs support only 3 colours, which gives me one colour

@Hamaas979

Posted in: #AdobePhotoshop #AntiAliasing #ColorIndexing #Stroke

I need to make a few custom subtitle bitmaps for a DVD. The trouble is that DVDs support only 3 colours, which gives me one colour for letters, one for anti-aliasing and one for outline.

What I've done is typeset the text white on black background, converted the image to 3-colour indexed mode, then selected the background (Magic Wand with zero tolerance), inverted the selection to get letters plus anti-aliasing, and applied 1 px stroke.

Now, the letters with anti-aliasing actually look half decent, considering the constraints, but the outline gives the whole thing an ugly squarish look.

I then took a closer look at some retail DVD subs and, among heaps of absolute abomination, found a specific type of rendering that manages to minimize the visual weight of the outline. It's hard to describe it, but unlike the usual Stroke in Photoshop, which makes all pixels fully touch, this draws them with only corners touching on non-straight lines.

So, the question is, is it possible to get this effect in Photoshop?

Here's a close-up of the comparison, with a few of the differences pointed out. Open the pic in a new tab to see it at actual size.

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Hamaas979

2 Comments

Sorted by latest first Latest Oldest Best

 

@Jennifer810

You don't need to turn anti-alias off in the stroke, you should turn it off in the beginning.


create your text with Anti-alias set to none
Rasterize type
Duplicate layer and move it below the original
Select > Modify > Expand by 1 px
Fill with the outline color. No more aliasing!

10% popularity Vote Up Vote Down


 

@Hamaas979

I don't have the same font to test, but can't you just apply a 1 pixel stroke in as a Layer Style to white text? Here's a screenshot showing the settings.



I also had text antialising off in this example, although you could switch it on if you want smoother lettering.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme