Tagliatti / NetBarcode

Barcode generation library written in C# and .NET Standard 2
MIT License
337 stars 68 forks source link

Add constructor overload that accepts all parameters #13

Closed aalex675 closed 4 years ago

aalex675 commented 4 years ago

Also, changed GenerateImage to a public function. For my usage I need to be able to rotate the generated image and without this I would need to create a new image from the byte array.

Tagliatti commented 4 years ago

Hello, keep GenerateImage as private and create a GetImage method, this will allow you to manipulate an image as you wish.

public Image GetImage()
{
    return GenerateImage();
}
kalatchev commented 4 years ago

Any chance this PR will be merged soon?

Tagliatti commented 4 years ago

Upgrade to the new version 1.1.0, it has a constructor with all parameters and a new public method GetImage() to manipulate the image.

kalatchev commented 4 years ago

Thanks