Testing Files Generator
English

Presets

Picture sizes

Does my system take pictures at the sizes screens and platforms use?

The picture-sizes preset builds a whole set of real test files for this question in one command, and a manifest.json beside them saying how your system should react to each file. Everything below is read from the program, at the defaults of this version.

What does it usually find?

What is in the set?

At its defaults, as tfg preset show picture-sizes reports it:

Files21
Targets in its recipe21
Total size4 178 420 B
Formatsjpg

And what the manifest of that set expects from your system:

ExpectedMeaningFiles
acceptYour system should take the file.21

What can you change?

SettingTakesDefaultWhat it does
--groups group names separated by commas, or all all Which sizes the set holds: screens for the sizes of screens, avatars for profile pictures and social for covers, banners, posts and thumbnails. Leave it at all for every one of them.
--content placeholder, test test What the picture shows. A test pattern is for checking how a file is read. A placeholder is a flat colour with words in the middle, for laying out a page before the real pictures exist.
--format a format id from the formats page jpg The format of every file in the set. It is a flag of the tool itself, and the preset only gives it a default.

How do you run it?

See what the set would cost, build it, or take its recipe to edit:

tfg preset show picture-sizes
tfg generate --preset picture-sizes --out ./picture-sizes
tfg preset eject picture-sizes > picture-sizes.yaml

Or build on it in a recipe of your own, next to your tests:

version: 1
extends: preset:picture-sizes