Image2Tiff (GraphicsMagick)
Created: 2015-05-28 12:56:11
Last updated: 2015-05-28 17:13:41
Converts an input image to Tiff with given Compression (uses local imagemagick in given PATH) Saving in same path as original.
Preview
Run
Run this Workflow in the Taverna Workbench...
Workflow Components
Authors (0)
Titles (0)
Descriptions (0)
Dependencies (0)
Inputs (3)
Name |
Description |
input |
|
Compression |
Choices are: None, BZip, Fax, Group4, JPEG, JPEG2000, Lossless, LZW, RLE or Zip.
To print a complete list of compression types, use -list compress.
Specify +compress to store the binary image in an uncompressed format. The default is the compression type of the specified image file.
If LZW compression is specified but LZW compression has not been enabled, the image data is written in an uncompressed LZW format that can be read by LZW decoders. This may result in larger-than-expected GIF files.
Lossless refers to lossless JPEG, which is only available if the JPEG library has been patched to support it. Use of lossless JPEG is generally not recommended.
When writing an ICO file, you may request that the images be encoded in PNG format, by specifying Zip compression.
When writing a JNG file, specify Zip compression to request that the alpha channel be encoded in PNG "IDAT" format, or JPEG to request that it be encoded in JPG "JDAA" format.
Use the -quality option to set the compression level to be used by JPEG, PNG, MIFF, and MPEG encoders. Use the -sampling-factor option to set the sampling factor to be used by JPEG, MPEG, and YUV encoders for down-sampling the chroma channels.
|
PATH |
|
Processors (7)
Name |
Type |
Description |
convert__graphicsmagick |
externaltool |
|
Rename_Input_to_Output |
workflow |
|
ProfilingStart |
beanshell |
Scriptimport org.apache.log4j.Logger;
Logger logger = Logger.getLogger("Workflow - Image2Tiff");
logger.info("Converting Image");
long timeStart = System.nanoTime();
Runtime runtime = Runtime.getRuntime();
runtime.gc();
long memoryStart = runtime.totalMemory() - runtime.freeMemory(); |
ProfilingEnd |
beanshell |
Scriptimport org.apache.log4j.Logger;
Logger logger = Logger.getLogger("Workflow - Image2Tiff");
logger.info("Done Converting Image");
long startTimestampLong = Long.parseLong(timeStart);
double time = (System.nanoTime() - startTimestampLong) * 1.0e-9;
long memoryStartLong = Long.parseLong(memoryStart);
Runtime runtime = Runtime.getRuntime();
// runtime.gc();
long memory = ((runtime.totalMemory() - runtime.freeMemory()) - memoryStartLong) / (1024L * 1024L); |
Measure_ImageSizeEquality |
workflow |
|
Measure_ImageColorspaceEquality |
workflow |
|
Measure_ImageRetainEXIF |
workflow |
|
Beanshells (6)
Name |
Description |
Inputs |
Outputs |
ProfilingStart |
|
|
memoryStart
timeStart
|
ProfilingEnd |
|
timeStart
memoryStart
|
time
memory
|
Equality |
|
inputSize
outputSize
|
equal
|
create_output |
|
in_filename
|
out_filename
|
Equality |
|
inputSize
outputSize
|
equal
|
Equality |
|
inputSize
outputSize
|
equal
|
Outputs (7)
Name |
Description |
output_file |
|
status |
|
measure_memory |
|
measure_runtime |
|
measure_imagesizeequal |
|
measure_imagecolorspaceequal |
|
measure_imageretainexif |
|
Datalinks (23)
Source |
Sink |
input |
convert__graphicsmagick:input_file |
Rename_Input_to_Output:out_filename |
convert__graphicsmagick:output_file |
PATH |
convert__graphicsmagick:PATH |
Compression |
convert__graphicsmagick:compression |
input |
Rename_Input_to_Output:in_filename |
ProfilingStart:memoryStart |
ProfilingEnd:memoryStart |
ProfilingStart:timeStart |
ProfilingEnd:timeStart |
PATH |
Measure_ImageSizeEquality:PATH |
input |
Measure_ImageSizeEquality:input |
Rename_Input_to_Output:out_filename |
Measure_ImageSizeEquality:output |
PATH |
Measure_ImageColorspaceEquality:PATH |
input |
Measure_ImageColorspaceEquality:input |
Rename_Input_to_Output:out_filename |
Measure_ImageColorspaceEquality:output |
PATH |
Measure_ImageRetainEXIF:PATH |
input |
Measure_ImageRetainEXIF:input |
Rename_Input_to_Output:out_filename |
Measure_ImageRetainEXIF:output |
Rename_Input_to_Output:out_filename |
output_file |
convert__graphicsmagick:STDOUT |
status |
ProfilingEnd:memory |
measure_memory |
ProfilingEnd:time |
measure_runtime |
Measure_ImageSizeEquality:equality |
measure_imagesizeequal |
Measure_ImageColorspaceEquality:equality |
measure_imagecolorspaceequal |
Measure_ImageRetainEXIF:equality |
measure_imageretainexif |
Coordinations (6)
Controller |
Target |
convert__graphicsmagick |
Measure_ImageRetainEXIF |
convert__graphicsmagick |
ProfilingEnd |
convert__graphicsmagick |
Measure_ImageColorspaceEquality |
convert__graphicsmagick |
Measure_ImageSizeEquality |
ProfilingStart |
convert__graphicsmagick |
Rename_Input_to_Output |
convert__graphicsmagick |
Uploader
License
All versions of this Workflow are
licensed under:
Version 3 (latest)
(of 3)
Credits (0)
(People/Groups)
None
Attributions (0)
(Workflows/Files)
None
Shared with Groups (0)
None
Featured In Packs (0)
None
Log in to add to one of your Packs
Attributed By (0)
(Workflows/Files)
None
Favourited By (0)
No one
Statistics
Other workflows that use similar services
(0)
There are no workflows in myExperiment that use similar services to this Workflow.
Comments (0)
No comments yet
Log in to make a comment