Author |
Topic |
|
scpsolutions
Canada
6 Posts |
Posted - Nov 03 2022 : 12:47:44
|
Hi,
I need to create labels that contain various pieces of information. The layer component will do the trick it seems. However I need to include barcodes. Is there a recommended approach to inserting/creating barcodes.
Right now the only thing I can think of is use another component(such as https://www.han-soft.com/barcode1d.php) off screen to generate barcodes, save the in a bitmap and insert that bitmap into a layer. Just wondering if there is a better approach since I would rather not reinvent the wheel.
Thanks, Marc |
|
xequte
38686 Posts |
|
scpsolutions
Canada
6 Posts |
Posted - Nov 04 2022 : 06:08:29
|
Thanks Nigel,
Storing would have been my next questions :)
But I do need to display the barcode as an image. So is the method of doing it offscreen in another component and copying its content to a image layer the best way to go. Or can you think of a better way. I already know this would be a pain if there is more than 1 barcode and that isn't considering all the formats.
Thanks, Marc
Marc Ouellette |
|
|
xequte
38686 Posts |
Posted - Nov 06 2022 : 14:19:22
|
Hi Marc
Sorry, I'm not really understanding your requirements. Are you saying you have an image and you add a barcode to it? Or are there multiple barcodes displayed per image?
At any rate, if they are being displayed then you should put them into an image layer. If you save to .ImageEn format then the layers will be maintained. Other alternatives to this are storing the images as annotations to JPEG or TIFF files, for example.
Nigel Xequte Software www.imageen.com
|
|
|
scpsolutions
Canada
6 Posts |
Posted - Nov 06 2022 : 19:37:16
|
Sorry Nigel if I am not clear.
I don't have a barcode at the moment but I need one. The only thing I could think of doing is generating one off screen using another component and adding it as a layer, like you said. I was asking if there was a better way of doing it than that. If there is a barcode library that is recommended it would be great.
Marc
Marc Ouellette |
|
|
xequte
38686 Posts |
Posted - Nov 06 2022 : 22:28:23
|
Sorry Marc, I should have read the first message better. I can't make any recommendations for third-party barcode libraries, as I do not have experience in the area. Whichever one you use, it will be able to generate a bitmap image that you an assign to a layer.
Nigel Xequte Software www.imageen.com
|
|
|
|
Topic |
|