Resize circuit image