Depends on what effect you want.

If you want a specific effect on specific pixels you should try and create content at the size of your pixel array.

If you dont need this then you can use any of the normal codecs and image sizes that work well in quicktime, and then scale the image to fit.

Dont expect to be able to see any image detail on 32x18 pixels!
You wont see anything recognisable.