Commit Graph
5 Commits
Author SHA1 Message Date
Austin Mroz a1ee051238 Further cleanup
save_metadata is now a format flag
- This allows saving to different tag and hides for image formats

Implement high bit depth support
- Disabled by default, but works for images and has shown in testing to
  produce objectively higher quality output than base Save Image

Fix target_size from load video not applying when 2 dimensions are set
When an input video is scaled to a new aspect ratio, it is now cropped
Removed try wrapping of load video nodes. This creates more confusion
now a system of fallbacks isn't used

A fix for parsing format_widgets when applied outside a '_pass'

Fixed missing import of logger in utils

Animated images are now included in the animated preview code
- This improves performance and allows for pausing

Cleaned up injection of code to load metadata
2023-11-30 17:40:57 -06:00
Austin Mroz 3431f48cd7 Raise upper limit on decoding of metadata
The base implementation from pngs uses String.fromCharCode,
but that causes overflow from having too many arguments when decoding
video files, likely since no chunking is done and everything is embedded
as a single monolithic json

As an additional benefit, data is now properly decoded from utf-8
instead of being interpreted as utf-16
2023-09-22 20:32:46 -05:00
Austin Mroz c6ab9e48bd Add max metadata limit
Better handling for a canceled "load file" dialogue
Remove some remaining js logging
2023-09-21 22:28:08 -05:00
Austin Mroz b6d1d3ed21 Implement mp4 loading, fix webm size 2023-09-21 21:55:58 -05:00
Austin Mroz 679b496222 Initial metadata support for videos
Additional testing is pending, but a workflow ending in a AnimateDiff
Combine was able to be successfully restored
2023-09-21 16:47:38 -05:00