animation/fourcell/notes/spec.txt

34 lines
1.1 KiB
Plaintext
Raw Normal View History

# apply_images
* Take calibration json as argument
* Create blank image of width and height
* Place idealized circles where hole punches are supposed to be
* Place fiducials in corners of images
* Take up to 4 images as arguments
* Perform AffineTransform on as many source locations as needed
* Place images according to AffineTransform
* Write final image out
### Potentials needs
* One time xy offset, calibrated to hole punches
* Hole punch several sheets at the same time, calibrate to one and print on them
* OR
* Calibrate, then print on un-punched sheets and place guides for punching
* (this may be less reliable)
# apply_svg
* Create svg document scaling width and height to 96dpi equivalent
* Normalize all measurements to 96dpi equivalent
* Place idealized circles where hole punches are supposed to be
* Take up to 4 svg files as arguments
* Find best fit for svg within 4 frames, rotation, scale and position
* Place or embed or re-write svg within frame, one at a time
* Write out final svg
### Potential needs
* One time xy offset, calibrated to hole punches
* Special board to draw this on (as opposed to free form mat)