Fermé

Automate image cropping and resizing using Adobe Photoshop CS and JavaScript

Automate image cropping and resizing using Adobe Photoshop CS and JavaScript

We are an electronic publisher with a need to automate our image formating and resizing workflow. We receive images in a variety of formats and sizes, and then for each image we receive, crop, resize, reformat and publish it to a pre-defined set of image sizes and formats.

Generally this is a two step process:

1) First we manually crop the images to create a version of each one with a set of proportions that cover each of the final sizes we will need.

2) Then, using these proportionally cropped images, we create images in the actual sizes and formats we need

To explain with a simplified example, let's say we wanted to translate an image to the following 5 formats:

height width ratio

100 200 0.50

200 400 0.50

150 200 0.75

300 400 0.75

300 200 1.5

We would start by creating three cropped versions of the original image with ratios of .5 (100/200 and 200/400), .75 (150/200 and 300/400) and 1.5 (300/200).

After we cropped to have the images in these proportions, we would finally translate the cropped version with a ratio of .5 to a 100x200 and a 200x400 version, the .75 ratio to 150x200 and 300x400, and the .67 ratio to 200x300.

In the process of resizing we would generate the final image in whatever image format (gif, jpg, png, etc.) we specified in our predefined list of sizes and formats. We will also have limitations on the final size of the images needed for each format. To meet these requirements each target size will have a bit-depth associated with it for generated images.

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):

a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.

b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.

3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).

###

What we would like to do is automate this process using Photoshop CS and JavaScript. We would like to have a system where a user would sit down in front of Photoshop CS and complete a workflow something like the following:

1) Select a folder or set of folders containing the images she wants to reformat and resize.

2) Photoshop opens each image one at a time. Then for each image, sets the selection area for the cropping tool to the appropriate size for the first targetted ratio and allows the user to select the region of the image to crop. Once the user crops to this ratio, Photoshop saves the cropped version to appropriate filename, reopens the images and prompts her to crop the image to the next ratio. Once she has cropped for all the ratio for a given image, Photoshop will move on to the next image and repeat the process.

3) Having cropped to these intermediate sizes, the user then starts a process to automatically resize and reformat the images to their final dimensions, formats and file sizes. This process will save the images with filenames that reflect the format they have been saved in.

The scripts must read in a list of desired formats from a .csv or similarly formatted file, and use these to automate the process. An example would be:

Family Ratio Width Height Max Format

------ ----- ----- ----- --- ------

F1 1.3 101 80 2.56 gif

F3 1.3 160 120 10.2 gif

F4 0.8 132 176 12.2 gif

F4a 0.8 132 176 64 png

If this list was used to reformat an image called [url removed, login to view], the results would be a file named [url removed, login to view] with dimensions of 101x80, no larger than [url removed, login to view], a file named [url removed, login to view] with dimensions of 160x120, no larger than [url removed, login to view], etc.

Although we would prefer this process to be automated using Photoshop, we are open to other solutions if you can demonstrate that they will be more efficient and/or cost effective.

Please see attached files for more information on the cropping process.

## Platform

Adobe Photoshop CS on Windows XP

Compétences : Ingénierie, Microsoft, MySQL, Photoshop, PHP, Architecture Logicielle, Tests de Logiciels, Arts Visuels, Bureau Windows

en voir plus : work of photoshop, where to start photoshop, to install adobe photoshop, target solutions, photoshop 24, hire this man, hire dimensions, explain javascript, electronic hire, adobe cs, what is adobe cs, what is a desktop publisher, javascript max, adobe all versions, adobe photoshop family, adobe photoshop do, Resizing, photoshop javascript, photoshop family image, photoshop 150

Concernant l'employeur :
( 0 commentaires ) Old Westbury, United States

Nº du projet : #3291389

5 freelance font une offre moyenne de $669 pour ce travail

algorithmltd

See private message.

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 30 jours
(15 Commentaires)
5.4
ArchanaP

See private message.

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 30 jours
(22 Commentaires)
4.8
kreutz

See private message.

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 30 jours
(10 Commentaires)
4.5
chittranjansl

See private message.

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 30 jours
(9 Commentaires)
3.4
julienbrunelle

See private message.

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 30 jours
(2 Commentaires)
2.4