# Image To PNG Square Converter

**Use case:** 

Convert JPG images into maximum-quality PNG files cropped to a 1:1 square aspect ratio. Returns a hosted PNG file URL exported to JSON.

## Input

```json
{
  "imageFiles": [
    {
      "url": "https://cdn.pixabay.com/photo/2016/11/29/05/45/astronomy-1867616_1280.jpg"
    }
  ],
  "outputFormat": "png",
  "aspectRatio": "1:1",
  "svgColor": "black, white, #FF5733",
  "quality": "maximum"
}
```

## Output

```json
{
  "convertedImageUrl": {
    "label": "Converted Image",
    "format": "image"
  },
  "originalImageUrl": {
    "label": "Original Image",
    "format": "link"
  },
  "outputFormat": {
    "label": "To Format"
  },
  "originalFormat": {
    "label": "From Format"
  },
  "status": {
    "label": "Status"
  },
  "originalSize": {
    "label": "Original Size (bytes)"
  },
  "convertedSize": {
    "label": "Converted Size (bytes)"
  },
  "originalDimensions": {
    "label": "Original dimensions"
  },
  "convertedDimensions": {
    "label": "Converted dimensions"
  },
  "timestamp": {
    "label": "Timestamp"
  },
  "error": {
    "label": "Error"
  }
}
```

## About this Actor

This example demonstrates how to use [Image Converter API](https://apify.com/parseforge/image-converter-api) with a specific input configuration. Visit the [Actor detail page](https://apify.com/parseforge/image-converter-api) to learn more, explore other use cases, and run it yourself.