Transform Images in a
Cloudflare Worker
Using WebAssembly from
Photon
and
pngs
Made with
Denoflare
(
source code
) by
John Spurlock
This demo needs JavaScript to run
Original image by
John Doe
via
Unsplash
resize
(no transform)
adjust_contrast
alter_blue_channel
alter_green_channel
alter_red_channel
apply_gradient
b_grayscale
box_blur
cali
colorize
darken_hsl
darken_hsv
darken_lch
decompose_max
decompose_min
desaturate
desaturate_hsl
desaturate_hsv
desaturate_lch
detect_135_deg_lines
detect_45_deg_lines
detect_horizontal_lines
detect_vertical_lines
dramatic
edge_detection
edge_one
emboss
filter
firenze
fliph
flipv
frosted_glass
g_grayscale
gaussian_blur
golden
grayscale
grayscale_human_corrected
grayscale_shades
horizontal_strips
hue_rotate_hsl
hue_rotate_hsv
hue_rotate_lch
identity
inc_brightness
invert
laplace
lighten_hsl
lighten_hsv
lighten_lch
lix
lofi
neue
noise_reduction
obsidian
offset_blue
offset_green
offset_red
pastel_pink
prewitt_horizontal
primary
r_grayscale
remove_blue_channel
remove_green_channel
remove_red_channel
ryo
saturate_hsl
saturate_hsv
saturate_lch
sepia
sharpen
single_channel_grayscale
sobel_horizontal
sobel_vertical
solarize
threshold
vertical_strips