# Download an Image from a Direct URL

**Use case:** 

Download an original image file from a public URL and export its dimensions, MIME type, byte size, SHA-256 hash, and Apify storage link.

## Input

```json
{
  "startUrls": [
    {
      "url": "https://upload.wikimedia.org/wikipedia/commons/6/6a/JavaScript-logo.png"
    }
  ],
  "maxImages": 1,
  "maxImagesPerPage": 20,
  "maxFileSizeBytes": 20971520,
  "requestTimeoutSecs": 30
}
```

## Output

```json
{
  "fileName": {
    "label": "File name",
    "format": "string"
  },
  "fileUrl": {
    "label": "Download file",
    "format": "string"
  },
  "sourceUrl": {
    "label": "Source",
    "format": "string"
  },
  "resolvedUrl": {
    "label": "Resolved image",
    "format": "string"
  },
  "mimeType": {
    "label": "MIME type",
    "format": "string"
  },
  "byteSize": {
    "label": "Bytes",
    "format": "number"
  },
  "width": {
    "label": "Width",
    "format": "number"
  },
  "height": {
    "label": "Height",
    "format": "number"
  },
  "altText": {
    "label": "Alt text",
    "format": "string"
  },
  "downloadedAt": {
    "label": "Downloaded at",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [Web Image Downloader Scraper](https://apify.com/automation-lab/web-image-downloader) with a specific input configuration. Visit the [Actor detail page](https://apify.com/automation-lab/web-image-downloader) to learn more, explore other use cases, and run it yourself.