dotherightthing / focalpoint-multi-cropper

Add a focalpoint to an image and generate project-specific crops.
0 stars 0 forks source link

How best to store focal point information? #9

Closed dotherightthing closed 1 year ago

dotherightthing commented 1 year ago

Scenarios

  1. User loads image into cropping tool > previous focal point is shown > user adjusts focal point
  2. User loads images into cropping tool > scrubs through thumbnails to verify focal points
  3. User adds new image size to layout > user loads images into cropping tool > previous focal points are shown > user runs batch update to generate new crops for new image size

Why Focal Point and not crop size or page X/Y

Options

Store in image filename

Store each focal point in a separate text file (dot, csv, json etc)

Store multiple focal points in a separate text file (dot, csv, json etc)

Store in image EXIF

Use query parameter

dotherightthing commented 1 year ago

Using filename for now.