dapphp/securimage — pull request #8 by Uranium235 (2012-04-10 17:16:15+00:00)
Title: Audiofixes

Hi Drew,

I had to fix some issues. I didn't test with 8 bit anymore.
I updated the doc and error messages to consistently have punctuation and clarified some things.
The last commit is a speed improvement. I dropped the support to get integer values from get/setSampleValue. That speeds things up as well and makes the code more readable.
If s.o. needs the integer values, he can access them through get/setSampleBlock and un/packSample. I also added new static functions to un/pack a sample block to an array for convenience.

I hope I fixed all issues I introduced. I tested all supported bit depth all over again.

As I will be busy again for the time to come, I will probably not do any further work on this. Should there be bugs or other issues, I am of course available as time permits.

Paul

P.S. I removed the protected readSample (or similar name) function as it was not used.