Magic Image

פרמיום
על ידי chr15m | מְעוּדכָּן לפני חודשיים | Media
פּוֹפּוּלָרִיוּת

8.1 / 10

חֶבִיוֹן

198ms

רמת שירות

100%

סקירה כללית של Magic Image

עוקבים: 0
יוצר API:
avatar
chr15m
chr15m
דרג API:
היכנס כדי לדרג את ה- API

תקרא אותי

Crop, resize, scale, and edit images. This API wraps the ImageMagick library. If you have an ImageMagick command line that already works you can use it directly with this API.

NOTE: this API is not affiliated with imagemagick.org in any way. It is an independent project.

Quickstart

Here is a simple example using curl. It uploads a file called image.jpg, resizes it to 300 pixels, and sets JPEG quality to 75%.

curl -s -X POST -H "Content-Type: multipart/form-data" -H ""x-rapidapi-key: YOUR-RAPIDAPI-KEY" -H "x-rapidapi-host: magic-image.p.rapidapi.com"\
  -F "image=@res/image.jpg" -F "args=-resize 300 -quality 75" https://magic-image.p.rapidapi.com/convert-cli/output.jpg -o output.jpg

See the Tutorials tab for more examples.

דירוג: 5 - הצבעות: 1