Skip to main content
Skip table of contents

Image options

Canvas width (wid)

wid command allows to specify the main canvas dimensions. Both wid and hei parameters must be specified in order to take the effect.

For example: wid=1000&hei=500

Canvas height (hei)

hei command allows to specify the main canvas dimensions. Both wid and hei parameters must be specified in order to take the effect.

For example: wid=1000&hei=500

Background color (bgc)

Sets the background color for the canvas. The parameter value should be a valid color reference (Color values .

For example: bgc=ffffff

https://api.images.drivecommerce.com/api/v1/drive/image?layer=1&src=coffee-shadow&layer=2&src=coffee&fmt=jpeg&bgc=edc043

image-20241123-002937.png

Flattened Color (flattencolor)

When using ai3-flatten image format, it may be desired to specify the overall color of the resulting foreground image. Without this option, the original image colors will be preserved, which may result into undesirable results while performing engraving operations.

The parameter value should be a valid color references.

For example: flattencolor=ffffff

https://api.images.drivecommerce.com/api/v1/drive/image/flowers?flattencolor=00ff00&fmt=ai3-flatten&icc=print-profile

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.