Batch modify images with scripts using MODI批量修改圖像的腳本使用莫迪

Posted on October 6, 2009 at 5:31 am發布於2009年10月6日在上午05點31

Here is a situation that at least a few people have run into before.  You have a huge selection of images that you have to convert to smaller JPEG images, and make several changes along the way.  It is not a simple as batch converting from one file format to another, in your situation.  Each picture has to undergo a punch list of transformations (resizing, color balancing, sharpening, and the like).這裡的情況是,至少有幾個人遇到過。你有一個巨大的選擇的圖像,你必須轉換成更小的JPEG圖像,使一些變化一路上。它不是一個簡單的從一個批處理轉換另一個文件格式,在您的情況。每張照片必須經過遺留問題清單的轉換(大小,顏色平衡,銳化等)。

Now if you only had a handful of digital pictures to work with, this is not an issue.  Just open your favorite image editing program, make the needed modifications, then save in the target file format.  Wash, rinse, repeat; and in a bit you have the newly created image files in your target format.  However, since we are dealing with potentially hundreds of pictures, this method is very time consuming.現在,如果你只有少數幾個數碼照片的工作,這不是一個問題。只要打開你最喜歡的圖像編輯程序,進行必要的修改,然後將其保存在目標文件格式。洗,漂洗,重複,並在您有位新創建的圖像文件格式,在您的目標。然而,由於我們正在處理數億潛在的圖片,這種方法是非常費時。

Instead of using your image editing program to run through each image, why not try something where you drop the file list into, setup a group of changes, and let a program make the alterations to each file one right after the other?  “That sounds good, but I do not want to empty my wallet for a program that will do this type of image processing.”, you might say.  Not a problem, all we need to do is download a copy of MODI from the Internet.而不是使用您的圖像編輯程序運行,通過每幅圖像,為什麼不試試你的文件拖放到列表中,設置一個組的變化,讓一個程序,使每個文件改建後的一種權利嗎?“這聽起來不錯,但我不希望我的錢包空了一個程序,為此類型的圖像處理。“你可以說。沒問題,我們需要做的就是下載一個副本莫迪從互聯網。

MODI (莫迪( found here這裡找到 ) is a non-installed type program (it does not require installation to your computer's C:\Program Files directory), which can take a list of images and change them based upon your script selections.  MODI is not intended to be an actual image editing program, rather is a program that takes popular features of image programs, and allows you to lay out changes in a scripted fashion to change many images at a time.  Though it is not a computer programming environment, you have to think methodically, to a degree, to determine how you want MODI to change your pictures. )是一種非類安裝程序(它不需要安裝到您的計算機的C:\ Program Files目錄),它可以採取圖片列表,並更改為基於腳本的選擇。作案不是要成為一個實際圖像編輯程序,而是一個程序,它受歡迎的功能,圖像的程序,並允許您更改佈局腳本的方式在許多圖像改變的時候。雖然不是計算機編程環境,你要想到有條不紊,以在某種程度上,以確定您希望如何作案改變您的圖片。

To run the MODI program, you have to locate the executable file from within the MODI folder.  Typically, this would be the folder you created for MODI when you unzipped the compressed file from the MODI website.  It would not necessarily be located under C:\Program Files.  Double-click on the MODI.exe file to open the program.要運行莫迪程序,你必須找到可執行文件的文件夾內作案。通常,這將是您創建的文件夾為作案時,你解壓的壓縮文件從作案的網站。它不一定設在C: \ Program Files文件。雙擊該MODI.exe文件打開該程序。

modi1

At the top of the MODI screen, you have the option of dragging and dropping files into the dark gray area, or browsing to location files via the Add Files button.  Either method works well at this point.  Additionally, if you select the Enable Quick View option, a picture of the target file will appear should you hover the mouse over one of the lines.  The Quick View image will appear on the left hand side.在頂部莫迪屏幕上,你可以選擇的文件拖放到暗灰色地帶,或瀏覽到文件的位置通過添加文件按鈕。兩種方法運作良好,在這一點上。此外,如果您選擇啟用快速查看選項,圖片文件的目標應該會出現您的鼠標懸停以上的線路。快速查看圖片會出現在左邊。

modi3

When you have your list of images selected in the upper portion of the MODI screen, you are ready to add the image alterations.  These changes will be applied to the current list of loaded pictures.  To find the menu of changes, click on the Add Modifier button.當您的圖片列表中選定的上半部分的莫迪屏幕,您可以增加圖像的改動。這些變化將適用於目前的列表加載圖片。要查找菜單的變化,點擊添加修改器按鈕。

modi4

In the Add Modifier area, you will have a drop-down bow with several choices.  For each choice you want to apply to your image set, you have to click on the Add button at the bottom, before switching to another modification.  This will create an entry in the main MODI screen, under Select Image Modifiers.在添加改性劑領域,你將有一個下拉弓與多種選擇。對於每一個選擇您想應用到您的圖像設置,您必須單擊添加按鈕在底部,然後切換到另一個修改。這將創建一個進入主莫迪屏幕,在選擇圖片修改程序。

modi5

Let's say that the first thing we wish to do is cut each image's size in half.  To do this, we would locate the Resize function in the Select Modifier drop-down box and click it.  In this selection, we would choose the 50% option in the Max Width/Height drop-down box.  Remember to click on Add at the bottom.讓我們說,我們首先要做的就是要切斷每幅圖像的大小的一半。為此,我們將重新調整職能定位在選擇修改器下拉框中並點擊。在此選擇,我們會選擇50%選擇在最大寬度/高度下拉框。請記住,點擊添加在底部。

modi8

The next thing on our list of image modifications is the sharpness of the picture.  Here, we would find the Sharpen choice, under the drop-down menu.  Now all that needs to be done, is drag the pointer to where we think the sharpness of the picture set needs to be.接下來的事情我們名單上的圖像清晰度是修改的圖片。在這裡,我們會發現銳化的選擇,在下拉菜單。現在所有需要做的,是拖動指針以我們認為銳度圖片集的需要。

modi9

Perhaps an image watermark is required.  From the drop-down menu, we choose Image Watermark, so that we can add some semi-transparent data to each of the images.  From within the Image Watermark window, you can choose what other image to use, by using the Browse button, where the mark is physically located on the picture, how transparent it will be, and if you want to rotate the positioning of the watermark image.  You can also opt to reduce or increase the physical size of the watermark at the bottom of this screen.也許圖像水印是必需的。從下拉菜單中,我們選擇水印,這樣我們可以添加一些半透明的數據的每個圖像。從內部的圖像水印窗口,你可以選擇使用其他的圖片通過使用瀏覽按鈕,在該商標的物理位置上的圖片,如何將透明的,如果你想旋轉定位水印的圖片。您也可以選擇以增加或減少的物理尺寸的水印在該屏幕的底部。

modi6

Along with a couple of other selections, we are now ready to convert our pictures.  back on the main screen of MODI, you will see the list of modifiers we chose under Select Image Modifiers.  Make certain that everything appears to be in order before running the batch.  Should you need to remove one of these changes, there are buttons located on the right-hand side of MODI allowing you to do so.  Also, if you want to preview what the outcome will look like, feel free to click on Preview Result.隨著一對夫婦的其他選擇,我們現在準備將我們的照片。回到主畫面的莫迪,你會看到列表修飾符,我們選擇在選擇圖片修改程序。請確保一切似乎是為了之前運行批處理。如果您需要刪除其中一個變化,有按鈕位於右側的作案允許你這樣做。另外,如果您要預覽的結果如何,外觀,隨時點擊預覽結果。

modi11

If everything appears to be in order, select one of the options from the writer field in the lower left-hand corner of MODI.如果一切似乎是在順序,選擇其中一個選項,從外地作家在較低左下角的莫迪。

modi12

Should you still feel the need to make some additional tweaks to the image batch, click on the Configure button in the writer area.  Here you may change the JPEG quality of the new pictures, set a maximum file size, and setup letters or numbers to accompany the new files names of your batch images.  Once finished, click on Save and Close.如果您覺得有必要作一些補充微調的形象批次,單擊配置按鈕,在作家區域。在這裡你可以改變JPEG品質的新的圖片,設置最大文件大小,並設置字母或數字伴隨著新文件的名稱您的一批圖片。一旦完成後,點擊保存並關閉。

modi13

Now that you have completed your scripting setup, simply click on the Go button in MODI's main screen, and let the processing begin.  After a while, the screen will show a note stating that the batch is complete, and that is it, you are done.  Should you want to keep this set of changes for future use, make sure to click on the Save as Preset button, and give the preset a name.  You can then load the saved changes list the next time you are in MODI.現在,您已完成您的腳本設置,只要按一下按鈕,轉到莫迪的主屏幕,讓處理開始。一段時間之後,屏幕將顯示說明說批處理完成,就是它,你是完成。如果您想保留此設置更改為未來使用,請務必點擊保存預設按鈕,給預設的名稱。然後您就可以加載保存的更改的列表下一次你在莫迪。

modiPreset1

Enjoyed this post?喜歡這個職位? Subscribe to Online Tech Tips via訂閱通過網上技術提示 RSS Feed RSS提要 or via或通過 Email電子郵件 and receive free daily productivity tips.並獲得免費的每日生產力技巧。

» Filed Under歸檔下 Computer Tips計算機提示

添加到美味 Save this page 保存該網頁 Mixx它 Stir it up on Mixx 攪拌它的Mixx
Reddit Add to Reddit 添加到Reddit StumbleUpon Stumble this page 絆倒此頁

Related Posts 相關崗位

Comments評論

Please post your comments/suggestions! 請張貼您的意見/建議!