image_fitz.yaml 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. identity:
  2. author: "chenlong028"
  3. name: "image_fitz"
  4. label:
  5. en_US: "image_fitz"
  6. zh_Hans: "image_fitz"
  7. pt_BR: "image_fitz"
  8. ja_JP: "image_fitz"
  9. description:
  10. en_US: "提供将输入图片(本地路径、HTTP(S) URL 或 PIL.Image)通过 PyMuPDF(fitz) 按指定 DPI 渲染为新的高质量图像的能力。"
  11. zh_Hans: "提供将输入图片(本地路径、HTTP(S) URL 或 PIL.Image)通过 PyMuPDF(fitz) 按指定 DPI 渲染为新的高质量图像的能力。"
  12. pt_BR: "提供将输入图片(本地路径、HTTP(S) URL 或 PIL.Image)通过 PyMuPDF(fitz) 按指定 DPI 渲染为新的高质量图像的能力。"
  13. ja_JP: "提供将输入图片(本地路径、HTTP(S) URL 或 PIL.Image)通过 PyMuPDF(fitz) 按指定 DPI 渲染为新的高质量图像的能力。"
  14. icon: "icon.svg"
  15. #########################################################################################
  16. # If you want to support OAuth, you can uncomment the following code.
  17. #########################################################################################
  18. # oauth_schema:
  19. # client_schema:
  20. # - name: "client_id"
  21. # type: "secret-input"
  22. # required: true
  23. # url: https://example.com/oauth/authorize
  24. # placeholder:
  25. # en_US: "Please input your Client ID"
  26. # zh_Hans: "请输入你的 Client ID"
  27. # pt_BR: "Insira seu Client ID"
  28. # help:
  29. # en_US: "Client ID is used to authenticate requests to the example.com API."
  30. # zh_Hans: "Client ID 用于认证请求到 example.com API。"
  31. # pt_BR: "Client ID é usado para autenticar solicitações à API do example.com."
  32. # label:
  33. # zh_Hans: "Client ID"
  34. # en_US: "Client ID"
  35. # - name: "client_secret"
  36. # type: "secret-input"
  37. # required: true
  38. # url: https://example.com/oauth/authorize
  39. # placeholder:
  40. # en_US: "Please input your Client Secret"
  41. # zh_Hans: "请输入你的 Client Secret"
  42. # pt_BR: "Insira seu Client Secret"
  43. # help:
  44. # en_US: "Client Secret is used to authenticate requests to the example.com API."
  45. # zh_Hans: "Client Secret 用于认证请求到 example.com API。"
  46. # pt_BR: "Client Secret é usado para autenticar solicitações à API do example.com."
  47. # label:
  48. # zh_Hans: "Client Secret"
  49. # en_US: "Client Secret"
  50. # credentials_schema:
  51. # - name: "access_token"
  52. # type: "secret-input"
  53. # label:
  54. # zh_Hans: "Access Token"
  55. # en_US: "Access Token"
  56. tools:
  57. - tools/image_fitz.yaml
  58. extra:
  59. python:
  60. source: provider/image_fitz.py