You have to get blob width for diameter and height for the lenghtor vice versa. Then a barcode tool. Where is the problem?