Maes
I like big butts!

Posts: 8662
Registered: 07-06 |
Well, now it works OK. Encrypts/decrypts successfully, with or without a password, and resizes image to accommodate for large data files (the space requirements are Image * Height *4 = FileSize, right?).
Probably the other people you mentioned also had problems with the debug build.
Also, why not replacing the calls to the rotate functions with a simple
data<<count or data>>count? it will be both more compact and faster, without the overhead of calling a function (C optimization zealots, don't speak about automatic inlining yet).
|