Interface: RecolorizationPreviewProps
Properties
hueOffset
• hueOffset: number
Offset, in degrees, to move the hue around the hue wheel. 0
for no change.
Defined in
packages/ida-framework/src/features/recolorizationPreview/RecolorizationPreview.tsx:27
lightnessMultiplier
• lightnessMultiplier: number
Amount by which to multiply the lightness. 1
for no change.
Defined in
packages/ida-framework/src/features/recolorizationPreview/RecolorizationPreview.tsx:35
maxPreviewSize
• Optional
maxPreviewSize: number
Max size in any dimension for the image. Useful to reduce processing time on larger images.
Default
4096
Defined in
packages/ida-framework/src/features/recolorizationPreview/RecolorizationPreview.tsx:40
onImageLoad
• Optional
onImageLoad: () => void
Type declaration
▸ (): void
Callback fired when the image preview loads.
Returns
void
Defined in
packages/ida-framework/src/features/recolorizationPreview/RecolorizationPreview.tsx:44
saturationMultiplier
• saturationMultiplier: number
Amount by which to multiply the saturation. 1
for no change.
Defined in
packages/ida-framework/src/features/recolorizationPreview/RecolorizationPreview.tsx:31
show
• show: boolean
Hide the preview.
Defined in
packages/ida-framework/src/features/recolorizationPreview/RecolorizationPreview.tsx:23
url
• url: string
URL pointing to the unmodified image.
Defined in
packages/ida-framework/src/features/recolorizationPreview/RecolorizationPreview.tsx:19