Luminous Landscape Forum
Raw & Post Processing, Printing => Digital Image Processing => Topic started by: Ellis Vener on May 07, 2012, 11:44:49 pm
-
use it as text below a photo.
-
There should be a bunch of ways to do this. If it was me, I would probably write a Python script that just churned through a directory, but you need to have something like PIL or ImageMagick installed already, which is not always trivial depending on your system.
There is also an old photoshop script here (and probably a million more on the web): http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetail&extid=1044198
I just tried it and it still works as advertised on PS CS5. It's pretty simple javascript, so if you open it in a text editor, it should be pretty obvious what you need to change to customize it to your needs. Then you can use it as the basis of a batch action.
You could probably also cobble together a solution with Photoshop Automator actions http://www.robotphotoshop.com/?page_id=8 but I've never used them, so it's only a guess.
-
What are you mostly trying to achieve here in terms of workflow? A folder of 10,000 images you want to place the filename within or something else? Attached is a script which will place the filename of your currently open image into the image in the bottom middle and leave the text as a separate layer. This script can be combined into an action by simply going to File>Scripts>FilenamePlace when you are recording an action, or record it in a separate action and then drag and drop the script part of the action into an existing action you might have.
Drop the script into your Applications>Photoshop>Presets>Scripts and restart Photoshop to test. and enjoy.
-
What are you mostly trying to achieve here in terms of workflow? A folder of 10,000 images you want to place the filename within or something else? Attached is a script which will place the filename of your currently open image into the image in the bottom middle and leave the text as a separate layer. This script can be combined into an action by simply going to File>Scripts>FilenamePlace when you are recording an action, or record it in a separate action and then drag and drop the script part of the action into an existing action you might have.
Drop the script into your Applications>Photoshop>Presets>Scripts and restart Photoshop to test. and enjoy.
Sometimes a few thousand images but immediately about a 105.
Thanks for these scripting idea.
-
The you could use Image Processor within Photoshop to run a batch process on a folder of images. You'd have to record an action that includes running the script then record a "Flatten Image" as the last step within the action. Then using Image Processor select your folder of images and choose the action you recordr and run...
You can change the text colour and size within the script to your liking also.
-
I was definitely planning on using Image Processor to run the action Shaun. Thanks for the reminder.
-
does it have to be one the image content or can it be on the border?
if so try Dr Russell Browns's scripts
hmmm... to me its a little tricky... but to do a custom automate, it would be something like calling from EXIF data, "imageFileName" then workout how and where to place it, baring in mind that you could have both landscape and portrait orientation....m hmm i would again look at www.russellbrown.com I am pretty sure he has a Copyright panel, where you can also use imagefilename as text, but also lets you place it where ever you want....i am on CS6 beta atm and there is no current scripts available from Dr Brown atm... but for earlier versions (e.g. CS 5.x) there should be....
... the whole idea behind scrips and batch processing is not to re-invent the wheel every time we do something, so go use someone else's script and adapt it to your needs
Henrik