https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20676

            Bug ID: 20676
           Summary: svc/barcode should allow barcode to be printed without
                    text
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Web services
          Assignee: koha-bugs@lists.koha-community.org
          Reporter: bar...@bywatersolutions.com
        QA Contact: testo...@bugs.koha-community.org

svc/barcode currently generates the barcode using

    $image = GD::Barcode->new( $type, $barcode )->plot()->png();

>From perldoc GD::Barcode

  plot()
    $oGd = $oGdBar->plot([Height => $iHeight, NoText => 0 | 1]);

    creates GD object with barcode image for the $sTxt specified at new
    method. $iHeight is height of the image. If NoText is 1, the image has no
    text image of $sTxt.

     ex.
      my $oGdB = GD::Barcode->new('EAN13', '123456789012');
      my $oGD = $oGdB->plot(NoText=>1, Height => 20);
      # $sGD is a GD image with Height=>20 pixels, with no text.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to