Fixing “Generic error occurred in GDI+” while generating a Barcode

前端 未结 6 2019
春和景丽
春和景丽 2021-01-02 13:11

I am writing a barcode generator in C# I can generate barcodes as bitmaps and can show them in a Picturebox(WindowsForms). On the other hand I could not save my barcode as a

6条回答
  •  太阳男子
    2021-01-02 13:31

    Gif is an indexed pallete format.

    Save it in a compatible format what was used to create the Bitmap instance.

提交回复
热议问题