Switch Theme:

*COMPLETELY* OT: Photoshop or Windows help required...  [RSS] Share on facebook Share on Twitter Submit to Reddit
»
Author Message
Advert


Forum adverts like this one are shown to any user who is not logged in. Join us by filling out a tiny 3 field form and you will get your own, free, dakka user account which gives a good range of benefits to you:
  • No adverts like this in the forums anymore.
  • Times and dates in your local timezone.
  • Full tracking of what you have read so you can skip to your first unread post, easily see what has changed since you last logged in, and easily see what is new at a glance.
  • Email notifications for threads you want to watch closely.
  • Being a part of the oldest wargaming community on the net.
If you are already a member then feel free to login now.




Made in gb
Pestilent Plague Marine with Blight Grenade






Bristol, UK

Ok, so batch converting.
I have 400 jpg images that need resizing and saving as .pngs.
Photoshop actions were made for this, that's the easy part.

The part I can't fix is that the all need to be called "default.png".

Obviously you can't have >1 image in a folder with the same filename. "Default_1.png", "Default_2.png" etc. will not work either.
Basically the only way I can figure it out is to somehow create a subfolder for each image - named after the original filename (ie "Strawberry.jpg" becomes a folder called "Strawberry" and save the "default.png" into it.

However I have no idea how to do this automatically, and it will take me all day to do it manually.

Any ideas you clever people of Dakka?

Many thanks in advance...

   
Made in gb
[ADMIN]
Decrepit Dakkanaut






London, UK

If you can get bash and imagemagick installed then I can write you a script that will do it in a couple of lines.

(basically use a bash script to make a folder for each file named after the original filename, then use imagemagick's 'convert' to change formats and put the output into the newly created folder for each image)

Check out our new, fully plastic tabletop wargame - Maelstrom's Edge, made by Dakka!
 
   
Made in gb
Longtime Dakkanaut





Bournemouth, UK

There is a batch function in Photoshop that allows you to automate the saving of files, it may allow you to choose a different folder for each save.

***

Just checked it does everything apart from save each image to a different folder. At least it will save you some time, you will have 400 images starting with "default***.png" Would just need to manually move & rename them, unless there are some gurus who know different.

Live your life that the fear of death can never enter your heart. Trouble no one about his religion. Respect others in their views and demand that they respect yours. Love your life, perfect your life. Beautify all things in your life. Seek to make your life long and of service to your people. When your time comes to die, be not like those whose hearts are filled with fear of death, so that when their time comes they weep and pray for a little more time to live their lives over again in a different way. Sing your death song, and die like a hero going home.

Lt. Rorke - Act of Valor

I can now be found on Facebook under the name of Wulfstan Design

www.wulfstandesign.co.uk

http://www.voodoovegas.com/
 
   
Made in us
Shas'la with Pulse Carbine





Depending on the version of photoshop you're running the automate command will give you a number of options for file names and save location. I suggest you try the Help menu in the application and search for "Using the Batch command".
   
Made in gb
Pestilent Plague Marine with Blight Grenade






Bristol, UK

Thanks for the help fellas, especially you Legoburner.
I have bash installed here actually, but in the end I abandoned the idea and just ran with batching it as far as I could in PS.
All the file names are wrong, but I have 400 images in 3 different sizes, sorted into three folders.
I'm going to give them to one of my underlings to sort the filenames before submission.


   
 
Forum Index » Off-Topic Forum
Go to: