This page explains the process for duplicating images with multiple different sizes, Using the GImage tool, Indexing those images in Photoshop and finally rendering the file size of the images using a tool combining PNG Crush, and other image rendering tools for maximising file size reduction. All the these required tools can be found on the wiki here...
(2) Place file in "IN" folder inside GIMAGE folder
(3) Go to start, run, type 'cmd' enter
(4) Type, cd Desktop, cd GImAge
(5) Type resize.bat then desired sizes from smallest to largest and step in between e.g start 5, stop at 30 step 1 values represent pixel size. The name of the file put in the 'IN' and the name of the file you want out but no need to put png on the end.
(6) Once images are populated to the "out" folder, go back to photoshop and Index the images to reduce file size.
e.g Script should like this; resize.bat 5 30 1 sorryimage sorryimage
(2) Place the Gimage on your Desktop
(3) Place the file in "IN" folder inside "Gimage" folder
(4) Start Terminal and type: cd Desktop/GIMAGE/
(5) Type: ./resize-colors.sh 100 400 10 in out 64
(1) Open Photopshop CS3
(2) Open a new window
(3) Open the Actions box located under 'Window' or Alt+F9
(4) Select 'Create new action'
(5) Name action 'Index64'
(6) Select 'Record'
(7) Select 'Image', 'Mode', 'Indexed Color'
(8) Select 'Local perceptual' for the palette, Input '64' in the colors, Forced set to 'None', Select 'Transparency', Matte set to 'None'
(9) Stop Recording
(10) Select Index64 (ensure that it is highlighted)
(11) Select 'File', 'Automate', 'Batch'
(12) On the batch screen ensure that set: Default Actions and Action: displays Index64, Source: Folder, Choose the correct folder that the images are in, named 'out' in GImage is preferred. Destination: Save and Close.
(13) Select the 'OK' button.
(1) Copy all the 'Indexed' files from the 'out' folder or whatever you have named it into the Images folder inside the image rendering folder.
(2) Go back and double-click on 'images.bat'
The process is now complete. Remember to allow sufficient time for the crusher to reduce the files if you have many to do.
(2) Place it on Desktop
(3) Copy all the images from the "out" folder and put them into Images folder inside the Image Rendering folder.
(4) Double click on file: (images.sh)
(5) Select on (Run in Terminal)
Done, all the images should be smaller than what they were,
Gimage - Follow the process below to duplicate multiple images with a range of different sizes;
(1) Ensure size of image is larger than the desired largest image required. (Performed in Photoshop)(2) Place file in "IN" folder inside GIMAGE folder
(3) Go to start, run, type 'cmd' enter
(4) Type, cd Desktop, cd GImAge
(5) Type resize.bat then desired sizes from smallest to largest and step in between e.g start 5, stop at 30 step 1 values represent pixel size. The name of the file put in the 'IN' and the name of the file you want out but no need to put png on the end.
(6) Once images are populated to the "out" folder, go back to photoshop and Index the images to reduce file size.
e.g Script should like this; resize.bat 5 30 1 sorryimage sorryimage
How to Gimage on UBUNTU
- Copy all your images place in "IN" folder and run the following script, they will be done at once
(2) Place the Gimage on your Desktop
(3) Place the file in "IN" folder inside "Gimage" folder
(4) Start Terminal and type: cd Desktop/GIMAGE/
(5) Type: ./resize-colors.sh 100 400 10 in out 64
- (100= is the start with high, to 400= Stop, 10= 10pixels jump, in= take image from in folder, out= put in out folder)
Photoshop Indexing - Follow the process below to reduce the amount of colours in the images and run through an automated batch as to not have to manually do each image one by one
Upon completion of resizing the desired images we need to reduce the file size by indexing the amount of colors used in the image, generally we use 64 colors which reduces file size dramatically without loosing too much picture quality. This action is performed in Photoshop.(1) Open Photopshop CS3
(2) Open a new window
(3) Open the Actions box located under 'Window' or Alt+F9
(4) Select 'Create new action'
(5) Name action 'Index64'
(6) Select 'Record'
(7) Select 'Image', 'Mode', 'Indexed Color'
(8) Select 'Local perceptual' for the palette, Input '64' in the colors, Forced set to 'None', Select 'Transparency', Matte set to 'None'
(9) Stop Recording
(10) Select Index64 (ensure that it is highlighted)
(11) Select 'File', 'Automate', 'Batch'
(12) On the batch screen ensure that set: Default Actions and Action: displays Index64, Source: Folder, Choose the correct folder that the images are in, named 'out' in GImage is preferred. Destination: Save and Close.
(13) Select the 'OK' button.
Image Rendering - Follow the process below to reduce the file size of all images processed
This last part of the process is simple.(1) Copy all the 'Indexed' files from the 'out' folder or whatever you have named it into the Images folder inside the image rendering folder.
(2) Go back and double-click on 'images.bat'
The process is now complete. Remember to allow sufficient time for the crusher to reduce the files if you have many to do.
Run Image Rendering in UBUNTU
(1) Download the Image Rendering file and unzip it(2) Place it on Desktop
(3) Copy all the images from the "out" folder and put them into Images folder inside the Image Rendering folder.
(4) Double click on file: (images.sh)
(5) Select on (Run in Terminal)
Done, all the images should be smaller than what they were,
No comments:
Post a Comment