https://domain/options/path/file
  

Transformations

  https://domain/h_100/logo.webp
  
OptionKeyExample ValueDescription
Widthww_900Set Width
Heighthh_450Set Height
Qualityqq_80, q_eco, q_good, q_bestSet quality by phrase or amount
Formatff_webp, f_jpeg, f_png, f_autoets output format
Rotateaa_90, a_-90Rotate
Grayscaleee_grayscaleGrayscale
Remove Backgroundee_bgremovalRemove background

Replace background

Backgrounds can be replaced with colors or default textures. Colors are defined in hex.
Replace with background color of green: i_bgreplace,b_31ff00

  https://domain/i_bgreplace,b_31ff00/logo.webp
  
  https://domain/i_bgreplace,b_uid_McQUAiBJnY/logo.webp
  

logo logo

You may also replace with an image. Instead of a color, use an uid image code such as b_uid_McQUAiBJnY

ImageNameCode
Brick TextureBrickb_uid_McQUAiBJnY
Dark LeavesDark Leavesb_uid_sblqYeFiJd
Green FieldGreen Fieldb_uid_QwNeNuXUBK
Orange PanelOrange Panelb_uid_cnPcjtoDQF
Silver RupeeSilver Rupeeb_uid_HXomTOIhOg
Moon SurfaceSilver Rupeeb_uid_HXomTOIhOg
Blue CanvasBlue Canvasb_uid_vmkwuXfypO
Green FadeGreen Fadeb_uid_oPXyCljlQT
Purple WallPurple Wallb_uid_nyzPEKyLcj
Tan WallTan Wallb_uid_KKEArdVBHY
Blurred GreenBlurred Greenb_uid_JUjjLQoMDJ
Cotton CandyCotton Candyb_uid_vYMBmQjjZz
Custom ColorCustom Colorb_ffffff

Blurring

Two parameters available:

blur_{sigma_minimumAmplitude} Blur transformation can be used by passing sigma and minimum amplitude value preceded by the blur_ literal.

  • sigma In image processing, “sigma” in Gaussian blur controls how blurry the image becomes. A higher sigma means more blur, while a lower sigma means less blur.
  • minimumAmplitude In Gaussian blur, “minimum amplitude” is the level where small parts of the blur effect are ignored to make the process faster and the blur smoother.
  https://domain/blur_5_0.5/logo.webp
  

logo

Info

  • Images are pulled from Pcloud public folder
  • They are processed through PerceptPixel, allowing transformations and then delivered through the Cloudflare CDN, which caches generated images.
flowchart LR
pcloud[PCloud] --> percept_pixel[PerceptPixel] --> cloudflare[Cloudflare] --> browser[User Browser]

Other services

wsrv.nl

Free hosted service to render any image

Example url for adjusting size:

  https//wsrv.nl/?url=https://wsrv.nl/lichtenstein.jpg&w=200
  

Can also render the base64 data of image:

  https//wsrv.nl/?url=https://wsrv.nl/lichtenstein.jpg&w=200&encoding=base64