12

Okay, sorry, I apologize to those to whom I claimed that properly asked Questions do not get downvoted on StackOverflow.

I have 600+ rep, 20+ Answers and questions.

I was doing something, it wasn't work, it wasn't homework or assignment. I was doing it purely out of interest. I got stuck and having no clue whatsoever, I asked a question. Got 3 down votes, close flags, and someone commented that they aren't there to do my homework.

-_-

The question was, after applying huffman encoding on an image (array of pixels) , how do I save it where it actually occupies less memory?

And this https://stackoverflow.com/questions...

Comments
  • 2
    What do you mean? You've compressed it, just write to a file?
  • 4
    I just upvoted you 👀
  • 1
    Could the reason for the brightness you mentioned be the alpha value which you are not taking into account? Could it be that you are manipulating in a 16-bit RGB space and the original image is maybe in 32-bit RGBA space because that would suggest colour opacity and brightness. I'm not too sure because I've not done any imagine manipulation or compression for a long time but my next university module is based around this!
  • 1
    @px06 so how do I take other values into account?
Add Comment