I have 2 captcha images, from the same site (but different symbols). Both of them are jpg. I have a method that converts that images to array of bytes. So far so good.
When I use that method over captchaOne, it returns X as the size of the array. When I use that method over captchaTwo, it returns Y as the size of the array. Is that correct? I mean, I'm feeling that that is the mechanism over the captchas... But there's gotta be a way to get the same byte array (with different values, obviously) from different images... Can you guys help me?
Hmmm... David, I guess you're completely right... The length of the array is, de facto, the size of the image. I'll try a new approach (maybe a 2 dimensional array of pixels or something like that).
By the way, I'm trying to pass an array from Java to other technology (through the network, with rmi and jni), so I thought that if I passed the things like that it would be ok... Maybe I'll try another approach in receiving the array in the other side of the application.