# GMT Movie frame size

**URL:** <https://forum.generic-mapping-tools.org/t/gmt-movie-frame-size/6172>\
**Category:** Q&A\
**Tags:** gmt\
**Created:** [August 26, 2025, 8:10pm UTC](https://forum.generic-mapping-tools.org/t/gmt-movie-frame-size/6172 "2025-08-26T20:10:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![EvanPi](https://avatars.discourse-cdn.com/v4/letter/e/e47774/32.png) [@EvanPi](https://forum.generic-mapping-tools.org/u/EvanPi)\
**Post date:** [August 26, 2025, 8:10pm UTC](https://forum.generic-mapping-tools.org/t/gmt-movie-frame-size/6172/1 "2025-08-26T20:10:15Z")

</div>

It appears as if `movie` has lost the ability to use non-integer frame sizes in 6.6.0. I just updated from 6.5, and I now get the error  
“movie [ERROR]: Option -C: When either a +c or +i modifier is used, dimensions must be integer pixels”  
when setting `gmt movie main.sh -C24cx14cx160+c`. This would normally be the 16:9 size, but it doesnt like it when i try to specify that either via `gmt movie main.sh -C16:9`.

On another note, I cant seem to be able to run `gmt grdimage $filename1 -R$region -J$Jparam -I+d -C$CPT_FILE -Y2i -X0.5i` within my movie scripts without getting  
“\*\*\* buffer overflow detected \*\*\*: terminated  
movie\_preflight.sh: line 47: 385886 Aborted (core dumped) gmt grdimage $filename1 -R$region -J$Jparam -I+d -C$CPT\_FILE -Y2i -X0.5i”

---

<div class="post-metadata">

**Author:** ![Esteban82](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/esteban82/32/54_2.png) [@Esteban82](https://forum.generic-mapping-tools.org/u/Esteban82)\
**Post date:** [August 26, 2025, 9:58pm UTC](https://forum.generic-mapping-tools.org/t/gmt-movie-frame-size/6172/2 "2025-08-26T21:58:16Z")

</div>

I think that the modifiers `+c` and `+i` were added after 6.5. So, I would suggest you to remove `+c` from the `-C` option.
