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 )
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 , 15 years ago
| Component: | MapScript-Perl → MapServer Documentation |
|---|
comment:2 by , 15 years ago
| Description: | modified (diff) |
|---|
Note:
See TracTickets
for help on using tickets.

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.