Resize Image avatar

Resize Image

Under maintenance
Try for free

1 day trial then $22.00/month - No credit card required now

View all Actors
This Actor is under maintenance.

This Actor may be unreliable while under maintenance. Would you like to try a similar Actor instead?

See alternative Actors
Resize Image

Resize Image

aweworkz/resize-image
Try for free

1 day trial then $22.00/month - No credit card required now

Image Resizer

This Apify actor resizes images to the specified dimensions, maintaining the aspect ratio or cropping as required. It accepts a variety of input options, including URLs or file uploads, and provides resized images as output.

Features

  • Resize images by specifying desired dimensions.
  • Supports cropping or maintaining aspect ratio.
  • Handles multiple input formats (png, jpg, tiff, bmp).

Input

The actor accepts a JSON object as input with the following fields:

1{
2    "imageUrls": [
3        "https://example.com/image1.jpg",
4        "https://example.com/image2.png"
5    ],
6    "width": 800,
7    "height": 600
8}

Input Fields

  • imageUrls (required, array): List of image URLs to resize. Can be local or remote URLs.
  • width (required, number): The target width of the resized images in pixels.
  • height (required, number): The target height of the resized images in pixels.

Output

The actor returns the following output:

  • A JSON object containing URLs to the resized images or direct file downloads.
1{
2    "resizedImages": [
3        "https://storage.apify.com/.../image1_resized.jpg",
4        "https://storage.apify.com/.../image2_resized.png"
5    ]
6}

License

This project is licensed under the MIT License. See the LICENSE file for details.

Developer
Maintained by Community
Actor metrics
  • 1 monthly user
  • 0 stars
  • 100.0% runs succeeded
  • Created in Sep 2024
  • Modified 7 days ago