php-barcode-generator icon indicating copy to clipboard operation
php-barcode-generator copied to clipboard

Added consistency on PNG/JPG classes and tests

Open kuorus opened this issue 1 year ago • 0 comments

I changed the two classes that export to image file so they are equally important, and create a common abstract class that keeps the common logic.

Then, when testing, I only had imagemagick enabled, so the test failed when it should be skipped due to having gd disabled, so I reused the same logic used for imagemagick (skip if not installed)

kuorus avatar Sep 07 '22 16:09 kuorus