Opened 16 years ago
Closed 14 years ago
#2524 closed defect (fixed)
saveImage in swf fail
Reported by: | friendvn2000 | Owned by: | assefa |
---|---|---|---|
Priority: | highest | Milestone: | 5.6 release |
Component: | Output-SWF | Version: | 5.0 |
Severity: | normal | Keywords: | saveImage swf |
Cc: |
Description (last modified by )
I have a map file that outputs swf format... I use PHPMapScript to implement:
$map = ms_newMapObj("test.map"); $image=$map->draw(); $image_url=$image->saveWebImage();
It generates some random name swf files like:
47ba3cf0_d1c_0.swf 47ba3cf0_d1c_0_layer_0.swf 47ba3cf0_d1c_0_layer_1.swf
But I want to save them as normal name, so I do next:
$image->saveImage("img_gen/test.swf");
and it works when saving them to those files:
test.swf test_layer_0.swf test_layer_1.swf
But in the test.swf file, the links to its child layers not change, so I can't use them !
( Maybe it's a MapServer's fatal error )
Thanks.
Change History (6)
comment:1 by , 16 years ago
Component: | MapServer C Library → Output-SWF |
---|---|
Owner: | changed from | to
comment:2 by , 16 years ago
Description: | modified (diff) |
---|
comment:3 by , 16 years ago
Milestone: | 5.0.3 release → 5.2 release |
---|
comment:4 by , 16 years ago
Milestone: | 5.2 release → 5.4 release |
---|---|
Owner: | changed from | to
comment:5 by , 15 years ago
comment:6 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
This should work in trunk. There was an issue when testing LOAD_AUTOMATICALLY format option flag and It was fixed in r9448.
Note:
See TracTickets
for help on using tickets.
Hi, Does this bug fixed ? I think it's not difficult to do. I know you're all busy. ( I've tried to explore the MapServer code but it's hard to find the desired part ) Thanks!