ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Barcode in multi layer image

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
scpsolutions 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
5   L A T E S T    R E P L I E S    (Newest First)
xequte 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
scpsolutions 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 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 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 Posted - Nov 03 2022 : 22:51:19
Hi Marc

If the barcode is only to be associated with the layer (not displayed) then you could either store it elsewhere and reference it by index using Layer.Tag:

https://www.imageen.com/help/TIELayer.Tag.html

Or you could store it in the user data field:

http://www.imageen.com/help/TIELayer.UserData.html

Nigel
Xequte Software
www.imageen.com