I have found this post. Your algorithm could look like
for all chunks of data
read chunk
convert chunk to pixels
set pixels
end
I have found this post. Your algorithm could look like
for all chunks of data
read chunk
convert chunk to pixels
set pixels
end