Bug 439419

Summary: Export to Chevereto image host
Product: [Frameworks and Libraries] frameworks-purpose Reporter: SimplyCorbett <tyler>
Component: generalAssignee: Aleix Pol <aleixpol>
Status: REPORTED ---    
Severity: wishlist CC: groot, kde, nate
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Other   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description SimplyCorbett 2021-07-02 20:43:29 UTC
Can we get integration with user-input chevereto API for spectacle? And can we also get support for the webp format?

https://chevereto.com/community/threads/sharex-chevereto-uploaders-list.7121/

Thank you!
Comment 1 groot 2021-07-03 11:31:25 UTC
WebP is already supported (if your underlying libraries support it; that's a distribution-issue). I can click *Save As* in Spectacle, and choose "WebP" as format in the save-dialog. That gets me, for instance,

~/Pictures/Screenshot_20210703_132900.webp: RIFF (little-endian) data, Web/P image, VP8 encoding, 3640x1920, Scaling: [none]x[none], YUV color, decoders should clamp
Comment 2 groot 2021-07-03 11:46:50 UTC
Since the OP didn't explain it, I looked it up:

- Chevereto is a self-hosting "Image hosting platform"; think "Image shack" or any of the other dozen image-hosters in the Spectacle Export > More Online Services menu.
- These are, I think, KIPI plugins and not Spectacle-specific.
- The API documentation for Chevereto is at https://v3-docs.chevereto.com/api/#api-call -- and is rather sparse. 
- It looks like the UI in KIPI would need to ask for a URL and an API key (like for imgur it asks for login and password). Then it's a single POST request, although I haven't found any useful example code (ShareX is C#; I can't find what I'm looking for there).
Comment 3 Nate Graham 2021-07-30 15:36:42 UTC
Kipi or else Purpose. Kipi is semi-abandoned so it would make more sense to add this to Purpose IMO.