Add open image button
Add getPixels function and getVectors function