You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
The pHash functionality from plugin-hash althought allows control on specificity of uniqueness of pHash with size and smallerSize in constructor of ImagePHash, the exported methods like pHash call the ImagePHash without any constructor argument forwarded from client.
Describe the solution you'd like
Add optional params to exported method signatures like pHash<I extends JimpClass>(image: I, options?: {size?: number, smallerSize?: number})
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
The pHash functionality from plugin-hash althought allows control on specificity of uniqueness of pHash with size and smallerSize in constructor of ImagePHash, the exported methods like
pHash
call the ImagePHash without any constructor argument forwarded from client.Describe the solution you'd like
Add optional params to exported method signatures like
pHash<I extends JimpClass>(image: I, options?: {size?: number, smallerSize?: number})
The text was updated successfully, but these errors were encountered: