Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
3

It would be great if shapes maintained crisp edges when offset from whole numbers, or using stroke

Participant ,
Aug 19, 2023 Aug 19, 2023

Copy link to clipboard

Copied

Problem: Currently, if you have a shape positioned at X: 100px, and apply 1px center stroke, since photoshop can't actually create half pixels on either side, so it ends up creating a mathematical hack job by creating a 2px wide stroke and compensating for this by giving it a transparent fill, so that "mathematically" you end up with a "1px stroke" in terms of fill values or weight, but a visually blurred shape edge. 

The same thing happens to edges of shapes if you position them off whole-numbers

 

Solution/idea: Short answer, allow photoshop to create half pixels. Long answer, can't photoshop use some math to properly address this and apply an actual 1px stroke? I think technically this would mean photoshop has to introduce the ability to split pixels from whole numbers into decimal points 0.1 to 0.9. But just to be clear, I'm not saying we need the ability of a 1.5px stroke, whole number strokes are fine, the problem is how strokes are rendered and shape edges are rendered depending on their posititons away from whole numbers.

 

The ideal final product: Say I have a shape positioned at X: 100, and I apply 1px stroke > Photoshop applies an actual 1px stroke and positions the stroke properly so it only takes up half a pixel on either side of the shape edge.

 

This seems like such a simple mathematical formula:

"Apply 1px center stroke, but shift it by 0.5px"

INSTEAD OF the visual nightmare of:

"Apply 1px center stroke, but actually apply 2px stroke and make each side semi-transparent to compensate for position away from whole number"

 

Attaching images so you can see what im referring to (different scenartios thhat look visually awful)
davescm_0-1692439123230.pngexpand imagedavescm_5-1692440321598.pngexpand imagedavescm_6-1692440497996.pngexpand image

davescm_7-1692440780615.pngexpand image

Idea No status
TOPICS
Windows

Views

155
Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
2 Comments
Community Expert ,
Aug 19, 2023 Aug 19, 2023

Copy link to clipboard

Copied

quote

 

"Apply 1px center stroke, but shift it by 0.5px"

 

By Callingoutn3rds

 

Please show us what a half pixel looks like.

Votes

Translate

Report

Report
Participant ,
Aug 19, 2023 Aug 19, 2023

Copy link to clipboard

Copied

LATEST

@D Fosse I'm not an adobe engineer, so maybe just maybe an adobne engineer would have better insight. But from a mathematical and logical standpoint, I would achieve this by making a visual "1px" actually created by a 10x10 grid. So every pixel is visually created by 10x10 grid behind it. This way "1.5px" is actually 15 points and doesnt explode the edge

 

If you are actually wondering what a half pixel would look like, Ive attached an image.

half-pixel-fordummies.pngexpand image

Votes

Translate

Report

Report
product-logoPhotoshop
Create gorgeous images, rich graphics, and incredible art.
Start Free Trial