Thu, Nov 14, 2:05 AM CST

Renderosity Forums / Photoshop



Welcome to the Photoshop Forum

Forum Moderators: Wolfenshire Forum Coordinators: Anim8dtoon

Photoshop F.A.Q (Last Updated: 2024 Nov 13 3:02 pm)

Our mission is to provide an open community and unique environment where anyone interested in learning more about Adobe Photoshop can share their experience and knowledge, post their work for review and critique by their peers, and learn new techniques while developing the skills that allow each individual to realize their own unique artistic vision. We do not limit this forum to any style of work, and we strongly encourage people of all levels and interests to participate.

Are you up to the challenge??
Sharpen your Photoshop skill with this monthly challenge...

 

Checkout the Renderosity MarketPlace - Your source for digital art content!

 



Subject: Increase Canvas Size X Pixels Action?


Odiemance ( ) posted Wed, 20 August 2003 at 2:48 PM · edited Wed, 13 November 2024 at 3:37 AM

I'm setting up a website. Once I have an image ready I always have to expand the canvas size 70 pixels, each way, to add a bkg and drop shadow. Doing the math is a pain. Are there any action that'll just add the 70 pixels? I looked for this at actionxchange.com, but came up empty.


aip2000 ( ) posted Thu, 21 August 2003 at 2:08 PM

Attached Link: http://www.adobe.com/support/downloads/detail.jsp?ftpID=1536

You can resize by 70 pixels with Photoshop Scripting. On a PC you can do it with the following VBScript. This can be done in AppleScript or JavaScript for Mac users. I don't write either of those languages. Further information at: http://www.adobe.com/support/downloads/detail.jsp?ftpID=1536 ' VB Script to Resize for drop shadow 'save this code with a .vbs extension. 'double click and it will resize all open documents with a 70 pixel border Dim appRef 'As New Photoshop.Application set appRef = CreateObject("Photoshop.Application") ' Remember current unit settings and then set units to ' the value expected by this script Dim originalRulerUnits 'As Photoshop.PsUnits originalRulerUnits = appRef.Preferences.RulerUnits appRef.Preferences.RulerUnits = 1 'psPixels Dim DocRef 'As Photoshop.Document Set DocRef = appRef.ActiveDocument ' resize all open documents For Each DocRef In appref.Documents appRef.ActiveDocument = appRef.Documents(DocRef.Name) DocRef.ResizeCanvas DocRef.Width + 70, DocRef.Height + 70, 5 Next ' DocRef ' Restore unit setting appRef.Preferences.RulerUnits = originalRulerUnits ' end of script


dreamer101 ( ) posted Thu, 21 August 2003 at 2:35 PM

It can be done with an Action in Photoshop.


yolkworm ( ) posted Sun, 24 August 2003 at 10:54 PM

LOL, specifying pixels is the only way you can do it in Painter and it has always annoyed me that it didn't work like PS. It's ammusing to see someone that actually wants to do it Painter's way! -Bill


Privacy Notice

This site uses cookies to deliver the best experience. Our own cookies make user accounts and other features possible. Third-party cookies are used to display relevant ads and to analyze how Renderosity is used. By using our site, you acknowledge that you have read and understood our Terms of Service, including our Cookie Policy and our Privacy Policy.