Web Dev
Placeholder Image
Generate placeholder images as data URIs.
How to use it
- Open Devly from the wrench in your menu bar, or press ⌃⌥⌘D. Press ⌘P, type Placeholder Image and press Return.
- Paste or type your text into Input.
- Adjust the Options on the right if you need to. The defaults are listed below.
- Press Generate, or ⌘↵.
- Use Copy or ⇧⌘C to copy the result. ⌘L clears everything.
Options
| Option | Values | Default |
|---|---|---|
| Width (px)Image width in pixels | 1–2000 | 400 |
| Height (px)Image height in pixels | 1–2000 | 300 |
| FormatOutput format | SVG (Data URI), PNG (Data URI), SVG Code, PNG Base64 | SVG (Data URI) |
| Background ColorBackground color (hex, rgb, or named color) | Text (e.g. #CCCCCC) | #CCCCCC |
| Text ColorText color (hex, rgb, or named color) | Text (e.g. #666666) | #666666 |
| Text StyleWhat text to display on the image | Dimensions (400×300), Custom Text, No Text | Dimensions (400×300) |
| Show borderAdd a border around the image | On or off | Off |
From Terminal
With the free command-line tool installed:
Terminal
devly placeholder "Devly" # or pipe text in pbpaste | devly placeholder
Quick Switch also finds it by: placeholder, image, png, svg, dummy, mock, data uri, base64.