Rmagic not crop graphics interchange format image

Rmagic not crop graphics interchange format image properly. so how to do this?