Batch process photos with Phatch


 
Thread Tools Search this Thread
Special Forums News, Links, Events and Announcements UNIX and Linux RSS News Batch process photos with Phatch
# 1  
Old 05-01-2008
Batch process photos with Phatch

Thu, 01 May 2008 15:00:00 GMT
Virtually any photo manager lets you perform mundane tasks like adjusting contrast, adding a watermark, and applying effects to your photos. But even powerful applications like digiKam and F-Spot can't really help you when you need to perform the same action (or a sequence of actions) on dozens or hundreds of photos. For that you need a batch processing utility like Phatch. This nifty tool can perform no fewer than 35 different actions on your photos, and its user-friendly graphical interface makes it easy to create advanced multistep batch rules.


Source...
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Start process on X number of files and then wait for the next batch

Thanks for RudiC for his extraordinary help on organizing files in a batch of 10 using below code. FL=($(ls)); for ((i=0;i<=${#FL};i++)); do for j in ${FL:$i:10}; do $batch ${j} ${j}.txt done; echo "Pausing for next iteration"; echo... (6 Replies)
Discussion started by: busyboy
6 Replies

2. Solaris

Python script not working in batch process

Good morning, I have a python 2.3 script that runs stand alone as intended when tested, then it was put into a ksh script. when running the ksh script it runs as intended. The problem is that my script does not run when the ksh script is called by another user who runs a batch process (as of right... (1 Reply)
Discussion started by: mhahe
1 Replies

3. Shell Programming and Scripting

Using Make to batch process files

Hello all, I have a make question, and I was hoping somebody here might be able to point me in the right direction. Here is my issue; I have a command-line tool that I use to run a conversion on an input XML file that results in an output binary file. However, this particular tool needs to... (1 Reply)
Discussion started by: jujumbura
1 Replies

4. Shell Programming and Scripting

Processing different jobs as a batch process

Hi All, I want to process consecutive jobs in a sequence but when I execute 1 job ,the control does not return to the command prompt to continue with the next job. Can anyone help me here? Thanks (3 Replies)
Discussion started by: Taranjeet Singh
3 Replies

5. Shell Programming and Scripting

User Prompt during batch script process

The script below performs an incremental database backup. When the increment backup is out of sequence, the process prompts the user: "Incremental backup out of sequece. Do you wish to continue? Y or N". This script is set to run as a scheduled process in background mode. When the script... (2 Replies)
Discussion started by: bond007jlv
2 Replies

6. Shell Programming and Scripting

trying to read batch process but need some command help

I am trying to access batch process that take place each nite. I am using Solaris 5.8 (and i am used to redhat). however I am trying to access say a certain directory. The home/oradev , is the directory...in there i am trying to access say a batch file within this, how can see if they are in... (1 Reply)
Discussion started by: etravels
1 Replies
Login or Register to Ask a Question
MONGOWRITEBATCH(3)							 1							MONGOWRITEBATCH(3)

The MongoWriteBatch class

INTRODUCTION
MongoWriteBatch is the base class for the MongoInsertBatch, MongoUpdateBatch and MongoDeleteBatch classes. MongoWriteBatch allows you to "batch up" multiple operations (of same type) and shipping them all to MongoDB at the same time. This can be especially useful when operating on many documents at the same time to reduce roundtrips. Prior to version 1.5.0 of the driver it was possible to use MongoCollection::batchInsert, however, as of 1.5.0 that method is now discour- aged. Note: This class is only available when talking to MongoDB 2.6.0 (and later) servers. It will throw MongoProtocolException if attempting to use it on older MongoDB servers. CLASS SYNOPSIS
MongoWriteBatch MongoWriteBatch Constants o const int$MongoWriteBatch::COMMAND_INSERT1 o const int$MongoWriteBatch::COMMAND_UPDATE2 o const int$MongoWriteBatch::COMMAND_DELETE3 Methods o protected MongoWriteBatch::__construct (MongoCollection $collection, [string $batch_type], [array $write_options]) o public bool MongoWriteBatch::add (array $item) o finalpublic array MongoWriteBatch::execute (array $write_options) MONGOWRITEBATCH TYPES
o MongoWriteBatch::COMMAND_INSERT -Create an Insert Write Batch o MongoWriteBatch::COMMAND_UPDATE -Create an Update Write Batch o MongoWriteBatch::COMMAND_DELETE -Create an Delete Write Batch DESCRIPTION
When executing a batch, by calling MongoWriteBatch::execute, MongoWriteBatch will send over maxWriteBatchSize (defaults to 1000) documents or up to maxBsonObjectSize (defaults to 16777216 bytes), whichever comes first. Note Documents will never be partially transferred. When adding documents to the batch, that overflows the limit, a new batch will be created and the document put into the new batch. ERRORS
/EXCEPTIONS oException on parameter parsing failures oException on argument validation errors (e.g. missing keys) oMongoProtocolException when talking to MongoDB server older then 2.6.0. oMongoProtocolException on socket errors. oMongoWriteConcernException when a write fails due to WriteConcerns EXAMPLES
Example #1 MongoWriteBatch example Adding documents to a Insert batch and then execute it <?php $mc = new MongoClient("localhost"); $collection = $mc->selectCollection("test", "test"); $docs = array(); $docs[] = array("my" => "demo"); $docs[] = array("is" => "working"); $docs[] = array("pretty" => "well"); $batch = new MongoInsertBatch($collection); foreach($docs as $document) { $batch->add($document); } $retval = $batch->execute(array("w" => 1)); var_dump($retval); ?> The above example will output: array(2) { ["nInserted"]=> int(3) ["ok"]=> bool(true) } PHP Documentation Group MONGOWRITEBATCH(3)