-
Notifications
You must be signed in to change notification settings - Fork 211
Open
Labels
enhancementImprovement or new featureImprovement or new feature
Description
Would it be possible to enable compression support for writeArrayBuffer when encoding a data array into image?
UTIF.js advertises supporting compression JPG, LZW, Deflate among others but only for decoding.
complete list advertised in readme - see mapping: 1,3,4,5,6,7,8,32773,32809
Tracker for compression support in utif-js here photopea/UTIF.js#121. Note if pako library exists within the window scope, it gets used, which results in deflate encoding support, but external reference is probably not the best practice.
Edit: it might also be best to implement compression encoding for geotiffwriter independently of how utifjs handles it, since it does not seem to be on their roadmap as of now.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementImprovement or new featureImprovement or new feature