Commit graph

12 commits

Author SHA1 Message Date
asonix 880dfc20ee Remove unneeded struct, import 2024-02-03 18:20:17 -06:00
asonix fd965bb1a5 Allow processing still images into animation formats
All checks were successful
continuous-integration/drone/push Build is passing
2023-09-24 13:20:33 -05:00
asonix 6c921817e1 Enable thumbnailing animations, use dynamic dispatch for a number of async readers
Some checks failed
continuous-integration/drone/push Build is failing
2023-09-24 11:54:16 -05:00
asonix b48a9233b2 Remove transcode from animation to video, make video transcoding 'optional'
Video transcoding still happens, but in many cases the video stream is able to be copied verbatim rather than being decoded & encoded
2023-08-30 20:37:54 -05:00
asonix 64950bfe0e Shorten pagination slugs 2023-08-29 12:53:29 -05:00
asonix da876fd553 Make it compile 2023-08-14 14:25:19 -05:00
asonix 3129f7844e BROKEN: start work on hash discriminant
Some checks failed
continuous-integration/drone/push Build is failing
2023-08-13 22:06:42 -05:00
asonix 2c22f2ee3a It compiles and runs, but doesn't work 2023-07-13 17:42:21 -05:00
asonix 27451971a6 Fix tests, add animated_webp test
Some checks failed
continuous-integration/drone/push Build is failing
2023-07-13 14:34:40 -05:00
asonix 33b83f97f2 It compiles
Some checks are pending
continuous-integration/drone/push Build is running
Need to reinstate media limits
2023-07-13 13:48:59 -05:00
asonix ad1837f9dd VERY BROKEN: start replacing parts of pict-rs
Some checks failed
continuous-integration/drone/push Build is failing
2023-07-12 22:12:21 -05:00
asonix 58d9765594 WIP: Rework format detection and conversions
Some checks failed
continuous-integration/drone/push Build is failing
- Add a bunch of types & methods that aren't used yet. The idea is
  creating the output from the known input parameters is pure, and works
  for any uploaded media
- Introduce a new kind of media "animation" which is neither an image
  nor a video. It is likely that animations can be processed properly at
  the /image/process.{ext} endpoint with a little massaging

TODO:
- Integrate this into exiftool, ffmpeg, magick commands
- Detect apng with ffmpeg (imagemagick treats it as a still png unless it's given a
    hint)
- Infallible conversion from Details to OutputFile - this might be
  impossible given that we don't currently store more than a mime type
  and a frame count to give any sort of indication of real type
- Try not to break API
2023-07-11 23:11:25 -05:00