# gifs with crop resize strategy not correctly sized

**URL:** <https://community.transloadit.com/t/gifs-with-crop-resize-strategy-not-correctly-sized/17810>\
**Category:** Transloadit\
**Tags:** tender-archive\
**Created:** [November 15, 2010, 7:07pm UTC](https://community.transloadit.com/t/gifs-with-crop-resize-strategy-not-correctly-sized/17810 "2010-11-15T19:07:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Geoff\_Buesing](https://yyz2.discourse-cdn.com/flex032/user_avatar/community.transloadit.com/geoff_buesing/32/1479_2.png) [@Geoff\_Buesing](https://community.transloadit.com/u/Geoff_Buesing)\
**Post date:** [November 15, 2010, 7:07pm UTC](https://community.transloadit.com/t/gifs-with-crop-resize-strategy-not-correctly-sized/17810/1 "2010-11-15T19:07:00Z")

</div>

> Archived from the Transloadit support forum. Originally posted on November 15, 2010; details may be outdated, see [our docs](https://transloadit.com/docs/) for current behavior. [Original thread](https://web.archive.org/web/20110412081935/http://support.transloadit.com/discussions/problems/26-gifs-with-crop-resize-strategy-not-correctly-sized)

I can’t seem to convert a jpg file into a gif with crop resize strategy and have it sized according to the width I specify.

Here’s an assembly template I’ve created to show the problem (template\_id: REDACTED) – I’m creating two cropped thumbs, one jpg, and one gif:

```auto
{
  "steps": {
    "thumb_jpg": {
      "robot": "/image/resize",
      "use": ":original",
      "format": "jpg",
      "resize_strategy": "crop",
      "width": 50,
      "height": 50
    },
    "thumb_gif": {
      "robot": "/image/resize",
      "use": ":original",
      "format": "gif",
      "resize_strategy": "crop",
      "width": 50,
      "height": 50
    },
    "export": {
      "robot": "/s3/store",
      "use": [
        "thumb_jpg",
        "thumb_gif"
      ],
      "bucket": "...",
      "key": "...",
      "secret": "..."
    }
  },
  "notify_url": "..."
}

```

If I upload a 600x450 jpg file, the thumb\_jpg is correctly sized 50x50, but the thumb\_gif is sized 66x50, with black bars padding the sides. See resulting files:

thumb\_jpg: [http://mobile-photo-share.s3.amazonaws.com/02/7f5a3333265fbdd2a2a4e0133e55e5/event.jpg](http://mobile-photo-share.s3.amazonaws.com/02/7f5a3333265fbdd2a2a4e0133e55e5/event.jpg) thumb\_gif: [http://mobile-photo-share.s3.amazonaws.com/8d/b6ad6ed905d8669c18d20e77055f82/event.gif](http://mobile-photo-share.s3.amazonaws.com/8d/b6ad6ed905d8669c18d20e77055f82/event.gif)

Is there a bug on your side, or am I doing something wrong?

---

<div class="post-metadata">

**Author:** ![Felix\_Geisendorfer](https://yyz2.discourse-cdn.com/flex032/user_avatar/community.transloadit.com/felix_geisendorfer/32/1463_2.png) [@Felix\_Geisendorfer](https://community.transloadit.com/u/Felix_Geisendorfer)\
**Post date:** [November 15, 2010, 8:26pm UTC](https://community.transloadit.com/t/gifs-with-crop-resize-strategy-not-correctly-sized/17810/2 "2010-11-15T20:26:00Z")

</div>

This looks like a bug on our end. I’ll investigate and see if I can push a fix for you.

---

<div class="post-metadata">

**Author:** ![tim-kos](https://avatars.discourse-cdn.com/v4/letter/t/bbe5ce/32.png) [@tim-kos](https://community.transloadit.com/u/tim-kos)\
**Post date:** [February 7, 2011, 1:49pm UTC](https://community.transloadit.com/t/gifs-with-crop-resize-strategy-not-correctly-sized/17810/3 "2011-02-07T13:49:00Z")

</div>

Closing this as it has long been fixed.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex032/uploads/transloadit/original/1X/04ee57da0cb7ac8728a9ac5965c288164f4ce280.svg) [@system](https://community.transloadit.com/u/system)\
**Post date:** [October 7, 2026, 9:03am UTC](https://community.transloadit.com/t/gifs-with-crop-resize-strategy-not-correctly-sized/17810/4 "2026-10-07T09:03:14Z")

</div>

Closed on October 7, 2026, 9:03am UTC


