Dynamic Font Size To Fit Within Box?

Hello,

I hope someone is reading this and has an answer to my problem.

What i want to do:
I have over 300 names (with surnames) listed as a textfile. And i have one image. What i want to do is pasting the text (e.g. name1surname1) on a specific area (which does not change) of the image, and saving the image as jpeg (filename = name1surname1.jpg). Then name2surname2 > saving as name2surname2.jpg, ....
The image is always the same, but the text i have to change (and save-as-jpeg) over 300 times.

As an example:


What my problem is:
I don't have the time to change all 300 names one by one and saving them one by one.
> Using Actions does not solve my problem ofcourse because it is different everytime
> Using Variables (set to the textlayer) and importing datasets COULD solve my problem but:
>> Sometimes one 'name' is longer than the previous one, so it does not fit inside the box:


so i have to change the font size to make it fit again)


What could solve my problem:
A way, which automates all the replacing of the textlayer with the names AND (probably more important) automatically changing the fontsize in case it is too big to fit within the textbox.

I hope there is a way to this. Waiting hopefully for answers thanks in advance!


Similar Content



Batch Saving To .png W/o Losing Canvas Pixel Dimension

Hi everyone, I introduced myself in a former thread. Name is Katie. I'm not new to Photoshop but am new to the more murky world of saving formats for various uses, printing, etc. I am in grad school, we're between semesters, and of all things they haven't really talked about saving! This week I was freelancing and saving to .JPG and .PNG, multiple images.

Problem:
I edited 150 images of product for a retail website on photoshopCS6. Company requires three sizes: two in .jpg, one in .png. Each image was in its own layer, in a group folder; a drop shadow effect was applied to the whole folder. For ea size requirement, I changed the canvas, resized all images at once to fit within it and ran the script.

I was able to run the Script on PS to batch save the .jpgs, and they RETAINED their canvas pixel dimensions in each image (700x525; 170x170). When I ran the same script to PNG-24, it worked but it DID NOT retain the canvas size and they were all wildly different.

I did some research, and found that people had to install script fixes to do this. I installed Dr. Russell's script for Image Processor Pro that should work in PS and Bridge. I tried it, still didn't work to retain size of PNGs. Am I simply using it wrong? Is that the only way to batch save certain file formats?

Because the images were due this morning, I individually saved every png ("save as" not "web/Devices") to ensure they were all 300x350.

I need to know there's a better way to do this for all other file formats, so I don't have to painstakingly save each image.

Can This Be Done? Is It Even Possible?

Hi,
I'm wondering if this is possible:
The right side is what I'm trying to achieve.
It's a simple enough effect, but the problem is that I'm curious if it can be some sort of dynamic effect in that I can change the "A" text to "B" and still have the outline cut out of the "M" (Or whatever if I need to change the "M" text to "Q" or something).
Basically I need the "A" and "M" to be able to change while the stroke of whatever the "A" letter (or shape) is will always cut out whatever shape, text, or image is placed behind it.
Is this possible without having to manually cut it out of the back image every time?

The illusion can easily be created by having a white background and using a white stroke on the "A" (that creates the effect I'm wanting)..
However I need them to be transparent and easily editable so they can be saved as transparent images for multiple uses quickly and easily.
(I apologize if I didn't get this across very clearly)

Cutting Out Clipping Mask Images

Hi all,

I have a problem with an image that I would appreciate your help with.

As you can see below, the image is a t-shirt shape made up of several images like a collage/mosaic (ignore the fact that the same image is repeated, they will eventually be different images).

I have achieved this by applying clipping masks to the different image layers over the top of the t-shirt image. What I now want to do is individually save all of these images so that they can be used as buttons in Adobe Flash. This is the part I am having trouble with.

I have tried using the slice tool which does work however the saved slices are all square shaped when obviously each individual image is not always a square/rectangle. Even saving them as a .png with a transparent background, I still can't use them as when they are brought into Flash, the whole square area becomes clickable as a button which I don't always want.

Hope I've made sense there!

Thank you.

Raw To Jpeg Much Darker Conversion.

Hey Guys,

I am a freelance Photographer who primarily shoots night events (shows, clubs, etc.) and I am having some issues with my images coming out darker when I save them as JPEGS. I am shooting with a Canon 60D (Adobe RGB) and at the moment editing the photos in the Adobe RAW Editor (Adobe RGB). When I am editing the photos in the RAW Editor they appear to be in 24bit, but when I save them as JPEG (Adobe RGB) they appear to be more like 32bit (much much darker). Any ideas as to why this is happening? I would really just like the finished product to be what I'm seeing in my RAW Editor.

---> Side note, I just realized the images are only darker when viewing them through Windows Photo Viewer and Facebook (where the photos will primarily be housed). Does anyone know why the images are vastly darker when viewed through these applications? This is definitely a viewer problem. So how can I make my images look how they are supposed to while using things like Facebook?

Thanks in advance,
Matt

The first screenshot of the image in the RAW Editor, the second of the JPEG in Widows Photo Viewer.

***UPDATE***

None of my replies appear to be going through so I'll just post them here. Before posting this thread I attempted to save them as sRGB but it still had the same affect. I also just tried Steve's Save for Web method and have the same issue.

I believe I am saving them properly as JPGs (I will supply a screen shot in this post). MrTom, when I say 32bit what I meant was if you are editing an image in Photoshop and you change the color mode from 8bit to 32bit, it looks similar to the drastic darkness as seen with 32bit.

A mini solution I have discovered is to +70 the Black levels, this evens out the photos to roughly what I was going for once they save. I would greatly prefer an actual fix, but this will do if all else fails.

Thanks for all the feedback!

How To Remove White Space Around An Image

Hi Guys,

I am sure this is a really simple thing to do and I thought that saving the image as a PNG was the answer.

I am trying to customise the folder icons in the dock on my iMac as show in the image below. However, as you can see I get white space around the edges and I thought that saving it as a PNG would avoid this.

Can anyone advise what I need to do.

Layer Showing Different Than My Image

I am doing a tutorial and after making a full page angle gradient, I am told to click Ctrl +Shift+ U to make it monochromatic. This shows on my layer palette but my workspace image did not change. Can you help me solve this? Thanks..
I have screen shots.

Mega Exhibition Displays/ Billboards. Best Workflow?

Hi Photoshop Gurus


I have been working on a billboard 414cm x 230cm and i have on 4000x6000pix image from a fullframe canon 5dmkii filling up the whole billboard.


What is the best way to save the image for billboard printing + preserve vector lines and text on top of the image?


(i have worked with the plugin perfect resize to scale up but don't like the results)


Now i make a psd. 1to10 (all smartobjects) and then save it as 3000dpi instead of 300dpi so the file is 10 times as big when printed and therefore full size. This way make the pdf's much smaller instead of making 1to1 resolution then i have to save as tiff since the file is over 2gb (can't save as pdf when to big) and the result is actually not as good as the pdf when i review the exports.. + 1to1 is very slow to work with since the files turn into 8gb psb and can be saving/loading for 30-60min sometimes.




<b>Would like to hear your opinion on this billboard printing? What is the best method to get your design from screen to 414cm x 230cm billboard without any bad surprises in the printing.
</b>


The printing company wants the file in TIFF, psd, pdf,ai. My impression if pdf work with everyone so prefer to go with that, of no benefit with other formats.

Where Oh Where Do My Placed Images Go?

I am building a composite image, create a new image clean white background and drag from bridge the images I want to use in the composite. Here's my issue...the images I have brought in are automatically turned into smart objects..( love those) so I open one of those placed S/O images and edit/adjust it then save and close...like it should the composite reflects the change. I can open and close that s/o as many times and make tons of changes...again awesome....but I may want to use that same image by itself and want to retain those changes....but when I go to the folder that I took the image from, the original image does not reflect any of those changes.

So my question is, where on my computer does the edited version of the placed image get stored...I'm guessing a temp folder somewhere, but can't find it!! Any body know?

Thanks
Brendan

Problem Whit Cuting Image

Hello,

I'am new on this forum,my name is Boris (19) and i live in Bosnia and Hercegovina.

Firsth of all sorry for my really bad english.

I have problem whit cuting one letter from logo.

I change name of my gaming community from GSP to GP, now i need to change a logo.

I am very weak in photoschopu, and my friend who create this logo is not here.

Link of logo is he http://client.dizajnarena.com/files/...fault/logo.png

Can someone please help me to delete a letter "S" from image, that would mean a lot to me.

Thank you, and once again sorry for my bad english.

Ps To Placing In Indesign Then To Pdf For Pub

Gurus: I have a big problem with a 12 image project. Example: All 12 original PSD images, 100- 300 megs each, were then flattened (all layers merged) to around half the file size of originals, then I converted to highest quality Jpeg's in the 10 - 30 meg range. I then placed the 12 Jpeg's in a InDesign template. The goal is the best quality product when I export the Indesign file to PDF. But my Mac says the entire Indesign file under "get info" says it is only 11 Megs!!?? Am I kidding myself? I thought I was getting good at this. Apparently, I have a lot to learn. Should I save the PSD's to Tiff's with LZW compression? Any other professional suggestions to make the project the best it can be when I export to PDF and not make a fool out of myself by publishing garbage. The publisher has a 400 meg PDF file size limit. I need your expertise, so set set me straight. I'm not going to compromise. So whatever it takes, I'll get it done. Thx, TimothyKim