I put my first action together: saving a JPG camera image to a b/w tif file with g4 compression (which is "CCITT Fax 4" compression in IrfanView, isn't it?) to get really small file sizes.
After different troubles (forgot to restart Windows after setting path environmental variable and had problems with phatch starting from batch file: "Error 6 Handle invalid") I got my first picture converted. But Irfan says my file has no compression. The size is actually about 1M. With Irfan's CCITT Fax 4 it is about 80K.
What did I do wrong?
Log says:
"Warning 0:Subprocess "tiffcp"
input:
['D:\\Config\\-Standalone\\-path\\tiffcp.exe', 'c:\\dokume~1\\arbeit\\lokale~1\\temp\\tmp_avlow', '-c', u'g4', u'D:\\Finanzen\\2009\\PB015485.tiff']
output:
TIFFOpen Error: -c: Cannot open
Action:{'fields': {'As': u'tiff',
'File Name': u'<filename>',
'In': u'<folder>',
'JPEG Quality': u'85',
'JPEG Size Maximum': '0 kb',
'JPEG Size Tolerance': '10 kb',
'Metadata': 'yes',
'PNG Optimize': u'yes',
'Resolution': u'<dpi>',
'Show Type Options': 'no',
'TIFF Compression': u'g4',
'enabled': 'yes'},
'label': 'Save'}
None
*"
Python says:
"Error: Directory Makernote with 18761 entries considered invalid; not read.
Warning: Failed to read Makernote, rc = 6"
I use Phatch 0.2.7 with Python 2.5 (Dependencies py25 package) in Windows XP SP3.
I also wonder how to get/install exiftran if I want to apply lossless rotation for windows. I didn't find any Windows binaries. Phatch says: "you need to install 'exiftran' first".
And how do I get rid of the three windows confirming "Drag & Drop", "File Manager" and "Ready!" (with "Show log" etc.) (or similar, translating from german) to get batch actions without any queries? :)
Phatch seems to be very promising as GUI besides command lines of ImageMagick et al. Thanks for Your work.
Phatch 0.2.7, Python 2.5, Windows XP SP3