some additional features

1. resolution is now changable
2. can add raw handler for RGBA pixels