![]() ![]() You can also check the option "Match files by file signature in addition to file extension," which recognizes files by binary signature rather than by file extension only. For example, if you uncheck all types except ".bmp - Bitmap Image File," then only *.bmp files are converted. You can check or uncheck file types from the list so that only files that match specific file extensions are included for conversion. Advanced Filter: This button opens the advanced filter. ![]() The option you choose changes the conversion options on the form. The first step is to select the type of files that you want to use for input. There is an extensive list of options for conversion, and their definitions are provided below. When conversion is complete, you can go to the target folder to view your files. When you click Convert, a conversion window pops up and begins the conversion. See the screenshot below to view the flow (numbers on the left) for choosing options and starting a conversion: To open the converter, choose Convert Files from the start screen or File → Convert Files. FYI charIDToTypeID is a Method with a parameter type of string, returns a numberĮxecuteAction( charIDToTypeID( "Algn" ), desc, DialogModes.File Viewer Plus includes an advanced batch conversion interface that allows you to convert many files at once. Ref.putEnumerated( charIDToTypeID( "Lyr " ), charIDToTypeID( "Ordn" ), charIDToTypeID( "Trgt" ) ) ĭesc.putReference( charIDToTypeID( "null" ), ref ) ĭesc.putEnumerated( charIDToTypeID( "Usng" ), charIDToTypeID( "ADSt" ), charIDToTypeID( method ) ) Place artwork as smart object functionįunction placeSmartObject(theFile) // end of function fillArtworkToCanvas() (Photoshop can only do whole pixels, not part pixels)Īpp.documents.add (UnitValue (widthA1, 'PX'), UnitValue(heightA1, 'PX'), A1, 594x841mm nearest approx in Photoshop, 7016x9933 pixels best it can do_ Var height24x36 = 10800 // height in pixelsĪpp.documents.add (UnitValue (width24x36, 'PX'), UnitValue(height24x36, 'PX'), Var name24x36 = theFilenamePrefix + "_24x36inches" Var height24x32 = 9600 // height in pixelsĪpp.documents.add (UnitValue (width24x32, 'PX'), UnitValue(height24x32, 'PX'), Var name24x32 = theFilenamePrefix + "_24x32inches" Var height24x30 = 9000 // height in pixelsĪpp.documents.add (UnitValue (width24x30, 'PX'), UnitValue(height24x30, 'PX'), ![]() Var name24x30 = theFilenamePrefix + "_24x30inches" Var height20x28 = 8400 // height in pixelsĪpp.documents.add (UnitValue (width20x28, 'PX'), UnitValue(height20x28, 'PX'), Var name20x28 = theFilenamePrefix + "_20x28inches" Var height20x20 = 6000 // height in pixelsĪpp.documents.add (UnitValue (width20x20, 'PX'), UnitValue(height20x20, 'PX'), Var name20x20 = theFilenamePrefix + "_20x20inches" Var height11x14 = 4200 // height in pixelsĪpp.documents.add (UnitValue (width11x14, 'PX'), UnitValue(height11x14, 'PX'), Var name11x14 = theFilenamePrefix + "_11x14inches" Var theFile = aFolder.openDlg("Select the base image file: - find it, then select 'Open'","*.jpg *.png *.tif") Var aFolder = myFolderLocation // change the path as needed Var myFolderLocation = lectDialog ("Where is the folder of the base image? - find it, then select 'Open'") Script ends with 7 docs open in Photoshop, because after this script finishes, only if necessary, I manually reposition artwork in each document to ensure artwork looks OK.įYI ONLY (not part of this script): To save the finished images, I run Photoshop > File > Scripts > Image Processor, then close all Photoshop > File > Close All (check "Apply to All") Artwork image is resized to fill the canvases, middle centre. It names the documents the same as artwork image, with size suffix. I run the script, which asks for a saved artwork image then creates 7 x Photoshop documents in common wall art sizes. I am sure there are more efficient ways for doing the script, and would like to hear from anyone interested in improving it. If Image Processor Pro ever adds "Fill to Canvas" as an extra option, then I'd go with it, but in the meantime. filling the entire canvas so no "white space" exists, rather than the resize on the Image Processor Pro which fits the artwork to the canvas on the tallest side and can leave "white space"). FYI I ended up going with this script which suited my needs better for the resizing (ie.
0 Comments
Leave a Reply. |