Batch command line image watermark
Image Converter Plus
Image Converter Plus Home FeaturesDownloadOrderSupport

Introduction of ImageConverter Plus command line
Program Overview
Program Features
Comand line syntax
Script
Makebat
Source
Convertto
BMP
JPG
GIF
PNG
TGA
TIFF
PSD
EXR
DDS
PDF
EPS
MNG
Dest
Save_opt
Template
Target_opt
Add operations (-oper)
Crop
Effect
Mirror
Resize
Rotate
Replace_color
Canvas
Color_profile
Watermark
Page_filter
Sort
How to...
Launching the program
Launch the program?
Launch the program from BATCH-file?
Launch the program from another application?
Use ImageConverter Plus command line on Web-server?
Launch the program from PERL script under Windows server?
Launch the program from Cold Fusion?
Launch the program from ASP?
Hide concole window when I launch the program from my application?
Working with files and folders
Convert files from local network?
Convert files from folder with all subfolders?
Specify name of output file?
Delete source images after conversion?
Overwrite files?
Convert CALS Raster files to TIFF?
Convert DICOM image file into TIFF?
Convert PCX file into TIFF?
Convert PDF file into TIFF in batch mode?
Convert SFF files into TIFF?
Convert TIFF file with Wang OldJPEG compression into standard TIFF?
Convert WinFax files into TIFF?
Convert WPG clipart into TIFF?
Convert color image into grayscale TIFF?
Convert Group3 and Group4 Fax files into TIFF format?
Changing image size and resolution
Stretch image proportionally?
Change image resolution?
Change image size and keep resolution?
Working with border and margins
Crop white margins from photo and fax?
Add a solid border to all images?
Working with colors and transparency
Change one color to another?
Invert colors?
Convert file with CMYK color space?
Make colors transparent?
Other questions
Save each page of multipage file separately?
Find out what version of batch converter you have?
Convert TIFF file with rotation?
Create a multipage file?
Find out numeric color code?
Additional Information
Color effects
Features in details
Supported formats
Registration and licensing
License agreement
Order ImageConverter Plus
fCoder On-line
About
Online support form
Custom development

Batch command line image watermark

Watermark

This operation is used to apply a watermark (a signature, a trademark, etc.) to source images. The following parameters are used to adjust its settings.

  • image - path to watermark image
  • halign - horizontal alignment (default - left)
  • valign - vertical alignment (default - top)
  • offset_x - horizontal offset (default - 0)
  • offset_y - vertical offset (default - 0)
  • method - blending method (default - alpha_blend)

image

Image parameter specifies the image to be applied to source images. It contains the full path to the needed file and is a required parameter for this operation.

Example:

-oper Watermark image:"c:\mark.jpg"

halign

Halign parameter specifies horizontal alignment of the image applied as watermark. This parameter can have the following values.

  • left - the applied image is aligned by left edge.
  • right - the applied image is aligned by right edge.
  • center - the applied image is aligned by center.

The default value is: left.

Example:

-oper Watermark halign:right

valign

Valign specifies vertical alignment of the image applied as watermark. This parameter can have the following values.

  • top - the applied image is aligned by top edge.
  • bottom - the applied image is aligned by bottom edge.
  • center - the applied image is aligned by center.

The default value is: top.

Example:

-oper Watermark halign:right

offset_x

Offset_xt parameter specifies horizontal offset (in pixels) of the applied image regarding the alignment point specified in horizontal alignment parameter. It can be a whole positive or negative number.

The default value is: 0.

Example:

-oper Watermark offset_x:20

offset_y

Offset_y parameter specifies vertical offset (in pixels) of the applied image regarding the alignment point specified in vertical alignment parameter. It can be a whole positive or negative number.

The default value is: 0.

Example:

-oper Watermark offset_y:-10

method

Method parameter specifies a method of applying watermark to the source image. This parameter can have the following values.

  • alpha_blend - select this method to apply watermark regarding transparency of the source image.
  • overdraw - select this method to apply watermark disregarding transparency of the source image.

The default value is: alpha_blend.

Example:

-oper Watermark method:overdraw

ICPCL.exe -source "C:\Original files" -dest "C:\Converted files" -oper Watermark image:" c:\mark.jpg" halign:center valign:center offset_x:20 offset_y:-10 method:overdraw

tips

  1. To execute this command line, make sure that the image specified in path to watermark image parameter is available for reading. This regards all executions including those from other applications or with other user names.


© 2007, fCoder Group, Inc.
Site Map | Other Projects