in reply to Re^3: Testing image output
in thread Testing image output
Neither coders nor decoders are stable
Do you mean the hashing coder/decoder or the image format?
Does your module (can't find it on CPAN) inherit from GD (judging by width/height/jpeg methods)?
Yes, it does use GD. It doesn't inherit from it.
You can't find it on CPAN because it is still in development release. Although the module works under all visual testing, I wanted to get it working with a complete test suite before releasing it publicly.
Yes, the module does use GD::Image-> trueColor( 1 ); and the tests specify $new->jpeg(50) rather than leaving GD to choose the best compression (whatever that means) as the docs say it does. I stayed away from PNG as I know that the exact behaviour of that depends on how GD was built, something that will vary on target machines.
I hadn't thought of using a GD object to perform the comparison...obvious really...thanks...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Testing image output
by Anonymous Monk on Sep 09, 2023 at 11:23 UTC |