Opened 15 years ago

Closed 15 years ago

#2962 closed enhancement (fixed)

Perl Mapscript: improvement of imageObj wrapper

Reported by: aboudreault Owned by: aboudreault
Priority: normal Milestone: 6.0 release
Component: Documentation - MapServer Version: svn-trunk (development)
Severity: normal Keywords: perl, mapscript, imageobj
Cc: tamas, sdlime, dmorissette, jlacroix

Description (last modified by dmorissette)

There are 2 problems that i've noticed with the imageObj perl binding:

  • imageObj::write() can only write the image data on STDOUT. We cannot pass a perl filehandle to it.
  • imageObj::getBytes() is not handled and cannot be used.

Change History (4)

comment:1 by aboudreault, 15 years ago

Component: MapScript-PerlMapServer Documentation

We can now pass a perl filehandle to the imageObj::write() method. The method imageObjg::getBytes() returns a perl scalar reference, which represent the image bytes.

Committed in SVN Trunk in r8847.

comment:2 by dmorissette, 15 years ago

Description: modified (diff)

comment:3 by dmorissette, 15 years ago

Alan, is there anything left to do? Can this ticket be closed?

comment:4 by aboudreault, 15 years ago

Resolution: fixed
Status: newclosed

Absolutely. Fixed and closed.

Note: See TracTickets for help on using tickets.