RetouchPRO

Go Back   RetouchPRO > Tools > Software
Register Blogs FAQ Site Nav Search Today's Posts Mark Forums Read


Software Photoshop, Lightroom, Paintshop Pro, Painter, etc., and all their various plugins. Of course, you can also discuss all other programs, as well.

Filename used as text layer

Reply
 
Thread Tools
  #41  
Old 01-15-2006, 12:05 PM
dragin dragin is offline
Junior Member
 
Join Date: Jan 2006
Posts: 2
Photos with lots of text

I have been reading your postings dealing with AddFilename Script. I am working on a large project (about 3000 photos) for a family dvd. I am just learning about scripting in Photoshop. I bought a book on JavaScript and am beginning to teach myself the code. My question is, is there a way to fit lots of text onto a photo with this script. I have edited the current script to get rid of everything but the filename (which is the text i want displayed on the screen). The problem is, if there is more than 5-6 words than the rest is lost off the edge of the photo. I have some photos that have 10-15 words in the filename. I am using a font size of 8. Any suggestions would be greatly appreciated.

Last edited by dragin; 01-15-2006 at 12:48 PM.
Reply With Quote top
  #42  
Old 01-15-2006, 12:45 PM
byRo's Avatar
byRo byRo is offline
Senior Member
 
Join Date: May 2004
Location: Goianésia, Brazil
Posts: 1,609
Welcome to RetouchPRO, dragin.

OK, gimme a couple of minutes and I'll fix something up.

Reply With Quote top
  #43  
Old 01-15-2006, 12:57 PM
byRo's Avatar
byRo byRo is offline
Senior Member
 
Join Date: May 2004
Location: Goianésia, Brazil
Posts: 1,609
OK, here you go.

Passed the text to the left side. Now you can occupy the whole width of the image.

Attached Files
File Type: zip Add FileName_3.zip (874 Bytes, 17 views)
Reply With Quote top
  #44  
Old 01-15-2006, 01:24 PM
dragin dragin is offline
Junior Member
 
Join Date: Jan 2006
Posts: 2
Ro,

Thanks for that information. You didn't waste any time. If the text will not fit on the photo in one line, can the text be wrapped around and placed below the beginning text, or do I need to shorten the filename and include only the most relevant information. Here is an example of a photo just to give you a illustration: Hazel, Loretta, Mary (holding Wade), Jenny, Cody, Denzil, and Blanche Agin

Thanks again for your insight.

D.R.
Reply With Quote top
  #45  
Old 01-15-2006, 02:41 PM
DannyRaphael's Avatar
DannyRaphael DannyRaphael is offline
Moderator
 
Join Date: Mar 2002
Location: Near Seattle, Washington, USA
Posts: 6,300
This would take a little programming, but I'm pretty sure it could be done by doing something like the following:
* Determine the file name length
* If longer than XX characters (XX = max width), then parse the file name string until you find the first "space" character before the XX max length and replace it with a <cr> (carriage return) character. This would be the equivalent of pressing Enter in the text dialog to get a new line.

Ro - you up to another tweak?
Reply With Quote top
  #46  
Old 01-15-2006, 03:29 PM
byRo's Avatar
byRo byRo is offline
Senior Member
 
Join Date: May 2004
Location: Goianésia, Brazil
Posts: 1,609
OK, here we go....

But, to make sure thing fit in, you may have to edit the script a little, I left the variables at the top of the script.
Don't worry just open with (if using PC) Notepad (not Word) and change the numbers.
Code:
var pxSTART_VERT = 90; //Starting height in percent of total height
var inTEXT_SIZE = 12; //Font size
In this case the text starts at 90% of the way down, with font size 12.

Attached are some alternatives using different settings.

Attached Images
File Type: jpg AddFileName-4A.jpg (98.9 KB, 15 views)
File Type: jpg AddFileName-4B.jpg (99.6 KB, 14 views)
Attached Files
File Type: zip Add FileName_4.zip (1.1 KB, 14 views)
Reply With Quote top
  #47  
Old 04-15-2009, 01:43 AM
roelwelters roelwelters is offline
Junior Member
 
Join Date: Apr 2009
Posts: 1
Re: Filename used as text layer

Hi all,
this this was very usefull to me, but i want to take it further:
i have an excel list of names that corresponds with the people on the picture,

FILENAME NAME
img_001 Jack
img_002 Joe
img_003 Luke
img_004 Averal
...

Can it be done to let photoshop lookup the filename in the list and place the NAME in a text layer?

Thank you in advance.
Reply With Quote top
Reply

  RetouchPRO > Tools > Software


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Tutorial 05: Converting a Color Image to Black and White grayscale BW DannyRaphael Photo-Art 101 17 05-22-2011 05:55 PM
help with german Photoshop commands please pure Photoshop Help 9 06-21-2010 03:33 PM
select shape Peg Hidden Power Support 7 08-29-2004 07:10 PM
Help needed understanding these layers. peejay Photo-Based Art 3 01-16-2004 09:15 PM
Screen, Multiply Explained... dpnew Hidden Power Support 3 12-28-2003 12:46 PM


All times are GMT -6. The time now is 05:24 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
Copyright © 2016 Doug Nelson. All Rights Reserved