Skip to main content
Inspiring
November 19, 2024
Question

Inconsistent Stroke border thickness

  • November 19, 2024
  • 1 reply
  • 993 views

This has been bugging me for some time.  I post photos of mine online with a border.  The border is actually a stroke filled with a gradient.  I have created a Style that specifies the width in pixels.  In the current case, 18 pixels.
I first create a Layer from the flattened Background image. 
I use an action named "Web Prep" to prepare the image I will post. 
The action first uses "File-Automate-Fit" to specify the long dimmension of the image.
Then "Image-Canvas Size" to expand the canvas by the width of the border.  So far so good.
Next the Style is invoked which applies the inside gradient stroke which is supposed to be 18 pixels.
But it usually isn't.  It can be wider or narrower.  I suspect this has something to do with the original size, aspect ratio, or resolution. 
My work around is to insert a "STOP" in the action and manually change the stroke width.  I have done this hundreds of times over the past couple years.  What, if anything, am I doing wrong?
I am attaching a jpeg of a photo showing the desired effect.

Thank you.
George Butch
Plantation, FL

This topic has been closed for replies.

1 reply

Bojan Živković11378569
Community Expert
Community Expert
November 20, 2024

Stroke width should be recorded in pixels, so the resolution of your file is irrelevant. You can verify this by expanding the step "Set layer styles of current layer." Consider trying a preference reset, as this may address unusual Photoshop behavior. If that does not resolve the issue, further investigation of the steps is necessary, and we should check on our end. What version of Photoshop and which platform are you using?

GButchAuthor
Inspiring
November 20, 2024

Thank you Bojan.  But the issue has existed for years through multiple PS upgrades and updates.  And for that matter, multiple Preferences deletions.  I have even re-written the action several times and recreated the style.  I actually have several variations of both the action and the style used for different posting situations.  Attached is a screen shot of the Style properties.  When I apply this style within an action, the size changes for no reason that I understand. So I insert a stop in the action to manually reset the width. 

Bojan Živković11378569
Community Expert
Community Expert
November 20, 2024

Could you expand on the action steps and then capture and post them here?