Skip to content
Browse all functions

Convert Image Format – PNG, JPEG, GIF, BMP, TIFF

images/convertimage

Converts an image into PNG, JPEG, GIF, BMP or TIFF. Transparent areas become the background color for formats without transparency (JPEG, BMP).

Endpoint

POSThttps://api.1001fx.com/images/convertimage
Header
X-API-KEY: YOURSECRETAPIKEY How to
Content type
application/json (no body)

Parameters

This function has no parameters.

Examples

Convert Image Format – PNG, JPEG, GIF, BMP, TIFF

Convert Image Format – PNG, JPEG, GIF, BMP, TIFF

Input

Expects multipart/form-data or a json body
{
  "fileUrl": "https://api.1001fx.com/testdata/image.png",
  "format": "jpeg"
}

Output · HTTP 200

Response
{
  "statusCode": 200
}
Show curl command
curl -X POST 'https://api.1001fx.com/images/convertimage' \
  -H 'X-API-KEY: YOURSECRETAPIKEY' \
  -H 'Content-Type: application/json' \
  -d '{"fileUrl":"https://api.1001fx.com/testdata/image.png","format":"jpeg"}'

Try convertimage now

Run it in your browser or create a free account and get 100 credits every month.

Changelog

  • 1.0.001.11.2026created