[gradsusr] Error on printim with bgImage

Jennifer Adams jma at cola.iges.org
Thu Oct 15 11:23:20 EDT 2015


I have added a note about this feature in the documentation pages for printim and gxprint. That was much faster than fixing the code. :-)
 —Jennifer

On Oct 15, 2015, at 11:13 AM, Stephen McMillan <smcmillan at planalytics.com> wrote:

> Miquel,
> 
> Try this:  first rename your background image so that there are no upper-case characters (B in this case), then try your printim again.  I had done some testing and it seems the printim command does not like upper-case characters...go figure!
> 
> I'm using GrADS v2.0.2.oga.2, 64-bit version for Linux, so it won't necessarily apply to your case.
> 
> Stephen
> 
> On Thu, Oct 15, 2015 at 10:03 AM, Miquel Bernis <bernisfeina at gmail.com> wrote:
> Thanks a lot for your answer Stephen. Before sending the mail I've checked the path using the shell command 'pwd'. I've tried either to put the full path on the script and the short one:
> 
> printim vent036.png -b /home/user/folder/mapaBase.png -t 0 x630 y486
> 
> printim vent036.png -b mapaBase.png -t 0 x630 y486
> 
> And it doesn't fix the problem. Path doesn't seem to be the problem, because as I told you, as a bgImage I can correctly open a .png file which is at the same folder if this is one of the maps I create with GrADS.
> 
> Thanks!
> Miquel
> 
> 2015-10-15 15:23 GMT+02:00 Stephen McMillan <smcmillan at planalytics.com>:
> Miquel,
> 
> You said you've checked the path, and yet you did not provide the path in your sample.  Try including the actual path, then see if you get the same printim error.  Alternatively, change your home directory to that of the background image before using the printim command.
> 
> Stephen Mc
> 
> On Thu, Oct 15, 2015 at 6:55 AM, Miquel Bernis <bernisfeina at gmail.com> wrote:
> Hello, 
> 
> I get an error while tring to create maps with a bgImage. When I try to use a .png background image using this command:
> 
> printim vent036.png -b mapaBase.png -t 0 x630 y486
> 
> I get the error:
> 
> PRINTIM error: background image open error
> 
> I've checked the path, so the problem isn't that. I've tried saving the background image with different .png options, but the problem remains. I'm only able to generate a map with a bgImage when I use one of the other maps I've created with GrADS. In that case the command printim returns no issues.
> 
> I'm using v2.0.a9
> 
> Please tell me if you have any idea about which would be the problem. 
> Thanks in advance for your help. 
> Kind regards,
> Miquel
> 
> 
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
> 
> 
> 
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
> 
> 
> 
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
> 
> 
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr

--
Jennifer M. Adams
Center for Ocean-Land-Atmosphere Studies (COLA)
111 Research Hall, Mail Stop 2B3
George Mason University
4400 University Drive
Fairfax, VA 22030 





-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20151015/dbc7d632/attachment.html 


More information about the gradsusr mailing list