Quantcast
Channel: beginners - openFrameworks
Viewing all articles
Browse latest Browse all 4929

Only loading certain pixels of JPG

$
0
0

@akupresanin wrote:

Hi, I'm not sure if what I'm trying to do is possible or the best way to approach it.

I have 9000 images, I need to select 250 and draw certain pixels from these 250 in realtime. I was initially attempting to load each of the 250 images in a loop and add the pixels I need to an array before moving onto the next image. This runs extremely slow. Is there a way to load only the pixels I need? (First image: load pixels in row 0-15, Second image: load pixels 16-30, etc.)

Or do I have to load the full JPG every time?

I want to keep the image resolution fairly high so have been working at 1440x810 for now.

Any advice for an absolute beginner?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4929

Trending Articles