GTL Part 3.3 : The Quest for JPG perfection cont.
So, for the last few days I've been fighting on and off with the JPG decoding code.
I finally cracked part of the problem today, I wasnt paying attension to the example code properly for reading data from the line which had just been read in. Turns out it was a pointer to a pointer and thus I had to dereference it before I could read from it *grumbles*, so yeah... I feel a bit dumb right now.
Its still not completely fixed, the image now comes out but its shifted like there is a bad alignment when it comes to the pixels, so i'm guessing my copying is still stuffed up somewhere, so I'm gonna have to try and fix that this week.
I finally cracked part of the problem today, I wasnt paying attension to the example code properly for reading data from the line which had just been read in. Turns out it was a pointer to a pointer and thus I had to dereference it before I could read from it *grumbles*, so yeah... I feel a bit dumb right now.
Its still not completely fixed, the image now comes out but its shifted like there is a bad alignment when it comes to the pixels, so i'm guessing my copying is still stuffed up somewhere, so I'm gonna have to try and fix that this week.
0
Sign in to follow this
Followers
0
0 Comments
Recommended Comments
There are no comments to display.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now