Convert images with image converter

What array are you trying to get? The question is not clear.