GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Photoshop question (https://gfy.com/showthread.php?t=1053806)

mkx 01-17-2012 07:12 AM

Photoshop question
 
I have a bunch of images that have a phone number listed at the bottom of the image. The images have the same width but different heights. I want to delete the phone number from the image. It always appears at the bottom center of the image. Is there a way to create an action so I can automate this?

Hope someone can help.

Operator 01-17-2012 07:14 AM

We would use image magick to subtract however many pixels from the bottom dimension. Sorry don't know how to automate a thing in ps.

Fletch XXX 01-17-2012 07:14 AM

no originals without the number? batch them with new dimens.

barcodes 01-17-2012 07:18 AM

Do you know how to make actions?
Here is a quick explanation of what to do assuming you do.

Put all of these files in one folder.

Make an action and crop the image from the highest part of the image where the phone number would be placed at. I know that doesn't sound right but I am not sure how to really say it correctly lmao. If the phone number could possibly be placed 300px from the bottom then crop 300px from the bottom. Save and close the file, and then stop recording the action.

file > batch. choose your action and then choose the folder you placed all the images in.

You should create a destination folder so you don't save over your current images, in case you fuck it up accidentally. Check override save as commands.

hit ok and wait a few min and you should be good.

mkx 01-17-2012 07:32 AM

shoot I forgot to mention that theres text at the right and left of the bottom that I still need, I only need to remove a chunk of the center of the bottom.

Basically if I can paste a white box that pastes to the bottom center instead of the center, that would solve the problem.

AllAboutCams 01-17-2012 07:35 AM

ill do it im cheap

Operator 01-17-2012 07:36 AM

Processing media on windows is amateur hour, unless it is all you do of course.
Photoshop sure wasn't designed for automation.

barcodes 01-17-2012 07:36 AM

Quote:

Originally Posted by mkx (Post 18693208)
shoot I forgot to mention that theres text at the right and left of the bottom that I still need, I only need to remove a chunk of the center of the bottom.

Basically if I can paste a white box that pastes to the bottom center instead of the center, that would solve the problem.

Yeah you can do that but i think photoshop recognizes the position of the marquee so if its different heights you need to compensate by using a box large enough to work for each one.

mkx 01-17-2012 07:39 AM

i think i figured out the strategy,

1. resize them all to same height
2. do a delete action in the same area batch
3. resize them all to the same width

:) let me give this a try

AllAboutCams 01-17-2012 07:42 AM

Quote:

Originally Posted by Operator (Post 18693216)
Hey what song's in your avatar xxxupdate, not enough mainstream culture for me to know any better


barcodes 01-17-2012 07:43 AM

Quote:

Originally Posted by mkx (Post 18693225)
i think i figured out the strategy,

1. resize them all to same height
2. do a delete action in the same area batch
3. resize them all to the same width

:) let me give this a try

I thought they were already the same width.
1. If not, do a batch to make them all the same width, and height.
2. Do a batch with the box.

Here is a screenshot that shows how the actions set the marquees/box/etc.
Will work the best if width and height are the same from the start.
http://i.imgur.com/sCtLr.jpg


Best of luck

mkx 01-17-2012 07:46 AM

i resized them to the same width. the original is like 3000 px and the end width should be 1000 px, height doesn't matter but since I have plenty of room to work with, I am resizing the height first to maybe 2500 px, then doing my thing to delete the bottom center part, then will resize the width, i think this should work.

barcodes 01-17-2012 07:48 AM

Quote:

Originally Posted by mkx (Post 18693240)
i resized them to the same width. the original is like 3000 px and the end width should be 1000 px, height doesn't matter but since I have plenty of room to work with, I am resizing the height first to maybe 2500 px, then doing my thing to delete the bottom center part, then will resize the width, i think this should work.

Yeah, i misunderstood. As long as they are all the same width and the number is in a similar spot that the white box can cover, you're good.

mkx 01-17-2012 07:49 AM

Quote:

Originally Posted by barcodes (Post 18693234)
I thought they were already the same width.
1. If not, do a batch to make them all the same width, and height.
2. Do a batch with the box.

Here is a screenshot that shows how the actions set the marquees/box/etc.
Will work the best if width and height are the same from the start.
http://i.imgur.com/sCtLr.jpg


Best of luck

it would be nice if you can just select how many pixels from the bottom, instead of how many from the top

barcodes 01-17-2012 07:54 AM

Now that I am thinking about it. you can make a selection or make a box shape which will cover the number, then select the image and the new layer, align it center and bottom then save and close and it should work.

Sorry I am tired and its still somewhat early here, lol.

mkx 01-17-2012 07:58 AM

another quick ?, is there a way to change the maximum amount of files allowed to be open from 200 to something else?

mkx 01-17-2012 08:03 AM

hmm I think that align thing might also work and be faster, playing with it now :)

barcodes 01-17-2012 08:03 AM

I don't think you can but I couldn't imaging having 200 images up at the same time. Trying to find the one you need would be insane lol =D.

The batch opens them one at a time so it won't affect it in that way.
I am pretty sure you know that so now I am curious why you need them all open at once for lol.

barcodes 01-17-2012 08:04 AM

Quote:

Originally Posted by mkx (Post 18693272)
hmm I think that align thing might also work and be faster, playing with it now :)

if you look at the actions with align, it puts the positions as along the center edge, and bottom edge. so that should work without having to change height.

Operator 01-17-2012 08:08 AM

Quote:

Originally Posted by xxxupdate (Post 18693232)

When the pimps in the crib Ma :thumbsup

sojproductions 01-17-2012 08:11 AM

copy a plain colour block into the memory which is wider than all of the images, make it high enough to cover the numbers at the bottom, open a test image and start recording your action:

paste, then select all
top menu 'layer > align layer to selection > align bottom'
control click the layer thumbnail in the layers palette
top menu 'select > inverse'
top menu 'image > crop'
save
stop recording

The Truth Hurts 01-17-2012 10:19 AM

new action
image > canvas size
check relative
click top center arrow
in Height enter -50 or however many pixels it will take remove the number
click ok.
stop recording.

run action on all images with batch.


All times are GMT -7. The time now is 01:15 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123