dilevin / computer-graphics-raster-images

Computer Graphics Assignment about Raster Images
1 stars 7 forks source link

read_rgba_from_png is returning Null for my personal tests...and ppm files still get made #51

Open pjsmith97 opened 4 years ago

pjsmith97 commented 4 years ago

I'm trying to debug my hue_shift code using simple png images I've been grabbing from the internet. However, I've run into a strange issue. The ppm files are created as if my code is ran on the images (with the pixel errors and everything). But when I run the debugger to read the values, all of the vectors are empty. The write_ppm code doesn't even write anything according to the debugger. And yet images are still being produced like they went through my code. Does anyone have a clue what's happening here?

EDIT: To clarify, I'm using CLion to run and debug on a Mac