Create a preset
Create a preset in your Dreep Dashboard or send a Create Preset request. Setkey, name, and format at the top level, alongside any transform fields. Keys must be unique within the project and may contain lowercase letters, digits, and underscores.
Apply a preset
Add?p=<key> to an image URL. The preset supplies the transform options for the request.
Exact image dimensions
Image presets use the saved width and height in pixels at the defaultdpr of 1. The examples above deliver a 1600 px wide image and a 240 × 240 crop when the source is large enough. A preset with only a width or height keeps the source aspect ratio.
The resize still follows the selected fit, the device pixel ratio, and the 4000 px cap on each requested output dimension. Dreep only scales images down. When you send width or height directly in the URL, Dreep rounds up to the next supported size.