Skip to content

Reading pixels array after reader #1310

Closed Answered by jumanji144
danielt3 asked this question in Get Help
Discussion options

You must be logged in to vote

Yes but that isn't the fault of the pattern size array, what you need to do is divide by sizeof(Pixel) as you are reading 3 bytes per entry, and you are just giving it the size in bytes from now to the end of the file

Replies: 4 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@danielt3
Comment options

Comment options

You must be logged in to vote
1 reply
@danielt3
Comment options

Answer selected by danielt3
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@danielt3
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants