jimp-dev/jimp

What is required to get Jimp supporting synchronus image loading/creating?

Open

#917 aperta il 25 lug 2020

Vedi su GitHub
 (2 commenti) (0 reazioni) (0 assegnatari)JavaScript (785 fork)batch import
enhancementhelp wanted

Metriche repository

Star
 (13.218 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

I would like to be able to load an image from a file (though any source would be best) and know when it was available for manipulation in a synchronous way. To know when individual manipulations have completed. My application would like to load a number of images sequentially (validating input) and then once all are validating, start processing them though separate/different/combined sequences.

Calling Jimp.load(, <WITH SOMETHING INDICATING DON'T USE PROMISES>) to return an object that can be manipulated and cloned.

Tried finding a library that doesn't require some tortuous combinations of Promises that ultimately don't work for just simply loading an image file and knowing when it has been loaded and is manipulatable.

Guida contributor