$opimage->Set(magick=>'RGB', depth=>8); #### my $depth = $ipimage->Get('depth');