Comments for "WBMP"

» Submit Your Comment
Comments are only accepted during the "Proposal" phase. This proposal is currently in the "Finished" phase.
» Comments
  • Martin Jansen  [2006-01-20 08:19 UTC]

    I'm probably missing something, but could it be that "manipulating WBMP images" is currently limited to creating from and saving them to a file?

    If so, you should adjust the description of the package accordingly, because people might be confused otherwise.
  • Evgeny Stepanischev  [2006-01-20 08:35 UTC]

    Оf course not! Package provide next list of methods:

    # getWidth()
    # getHeight()
    # drawLine($x1, $y1, $x2, $y2, $color)
    # drawPixel($x, $y, $color)
    # getColorAt($x, $y)
    # output([$filename])
    # drawRectangle($x1, $y1, $x2, $y2, $color)
    # drawFilledRectangle($x1, $y1, $x2, $y2, $color)
    # drawPolygon($points, $num_points, $color)
    # destroy()
    # setStyle($style)
    # fill($x, $y, $color)
    # copy(&$src_im, $dst_x, $dst_y, $src_x, $src_y, $src_w, $src_h)
    # createFromFile($filename)
    # drawEllipse($cx, $cy, $w, $h, $color)
    # drawFilledEllipse($cx, $cy, $w, $h, $color)
    # drawFigletText($text, $font, $size, $fgcolor, $bgcolor, $x, $y)