Measurement units

33 views
Skip to first unread message

Javier

unread,
Jul 26, 2011, 7:26:44 PM7/26/11
to Barby
Hi all, i'm using Barby to generate a table of barcodes.

What are the measurement units of png_outputter?

If I use:

...to_png(:width => 100)

the result image is not 100 pixels width, so, what measurement unit is
being used? Can't find it on docs.

(ean13 btw)

thanks in advance

Tore Darell

unread,
Jul 26, 2011, 7:55:38 PM7/26/11
to ruby-...@googlegroups.com
You can't set the width directly. Try using xdim and margin options.

> --
> You received this message because you are subscribed to the Google Groups "Barby" group.
> To post to this group, send email to ruby-...@googlegroups.com.
> To unsubscribe from this group, send email to ruby-barby+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/ruby-barby?hl=en.
>

Reply all
Reply to author
Forward
0 new messages