On server side we recommend to useĪvailable as part of the Tidelift Subscription. Though you can run this package on node.js, browsersĪre the main target platform. Then typed arrays support will be enough. If you plan to use only pure math core,.Top level API should work in all browsers,Īre not required, but they will be used if available.We didn't have time to test all possible combinations, but in general: There is a correspondence between UnsharpMask parameters UnsharpRadius = 0.6 and unsharpThreshold = 1. We recommend to start with unsharpAmount = 160, Set unsharpAmount to positive number to activate the filter.įilter's parameters are similar to ones from Photoshop. Pica has built-in "unsharp mask" filter (off by default). All this variations were implemented to betterĪfter scale down image can look a bit blured. In real world you will never need to change default (max) Pica has presets to adjust speed/quality ratio. Result is Promise, resolved with resized rgba buffer. If you don't wish pica to create new one. If it is less than 0.5, Unsharp Mask is off.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |