>? way I can take like the last frame minus 10 or a middle frame Assume you know your image has 50 frames. To get the middle frame, identify -format '%#' 'mymovie.gif[25]' or to get the last 10 frames: identify -format '%#' 'mymovie.gif[40-49]'