Hi, I think there are 4 solutions to add an image in your print output :
1) add a layer and a symbol in your mapfile : SYMBOL NAME 'logo' TYPE PIXMAP IMAGE "path_to_logo.png" END LAYER NAME "logo" STATUS DEFAULT TRANSFORM lr OPACITY 80 TYPE POINT FEATURE POINTS -30 -30 END END CLASS SYMBOL 'logo' SIZE 50 STYLE END END END That will "draw" your logo in all map image (in pmapper navigation window, print output -html and pdf-,downloaded images -jpeg, tiff- ...). Maybe the easiest way, but you will always have the logo... 2) same thing but with "STATUS OFF" and in you will have to activate this layer in pmapper/incphp/print/prinmap.phtml for instance (requires few PHP knowledge) 3) add your image in the pdf output (requires PHP knowledge) Here you can do everything you want. But you have to really develop the functionality by yourself. It could be a good way to do, bu if you want it in html print output, in downloaded images, etc... you have to do it many times... 4) add your image in the one that was generated by pmapper just before insert it in the pdf (what you describe in your mail, requires PHP knowledge). As far as I'm concerned I encourage you to try the first one. Thomas Ernesto Barrera a écrit : > Hi all, > > no replies to my last question. > I might not have explained clear enough or maybe it has been considered > a bit off-topic (it's more a 'Mapscript' issue than a 'Pmapper' one)... > > a) I'd like to use 'pasteImage()' method to paste a logo PNG image on > top of map. > > b) 'pasteImage()' only takes a 'imageObj' previously created by > a 'mapObj'. > > c) 'mapObj' doesn't have any method which return an 'imageObj' from a > PNG disk image. It seems to be exclusively dedicated > to 'scales', 'legends' and 'reference maps'. > > > Does anyone know if this can be accomplished this way? > Any other way? > > Thanks > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > ------------------------------------------------------------------------ > > _______________________________________________ > pmapper-users mailing list > pmapper-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/pmapper-users > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users