RasterizeTransformation class
Any image transformation CDN URL is valid with an SVG file. Most operations don't affect the response SVG body, while geometric operations (crop, preview, resize, scale_crop) change SVG attributes and work as expected. To apply full range of operations on SVG file, it should be rasterized by applying /rasterize/ operation.
Note: Operation is safe to apply to any image. Not SVG images won't be affected by this operation.
Note: SVGs uploaded before May 26, 2021 still have is_image: false
and adding processing operations to them will result in error.
Contact support to batch process previously uploaded files.
- Inheritance
-
- Object
- Transformation
- NullParamTransformation
- RasterizeTransformation
- Implemented types
Constructors
Properties
- delimiter → String
-
Instruction delimiter
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- operation → String
-
CDN API operation URL directive
no setteroverride
-
params
→ List<
String> -
Related parameters
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
dynamic other) → bool -
The equality operator.
inherited