190191192193194195196197198199200
break; case Picture.PNG: pict = new PNG(); break; case Picture.DIB: pict = new DIB(); break; default: throw new IllegalArgumentException("Unsupported picture type: " + type); } return pict;