png

Error

JRobin: Not able to save graph as a PNG file

  • by

Error:

Not able to save graph as a PNG file.  
Compilation error: cannot find symbol  
[javac] symbol  : method saveAsPNG(java.lang.String,int,int)  

Solution:

saveAsPNG does not seem to be there in JRobin anymore. Use the RrdGraph.render (java.awt.Graphics g) method. For example,


// Create a buffered image in which the graph would be drawn    
BufferedImage bImage = new BufferedImage(imageWidth, imageHeight, BufferedImage.TYPE_INT_RGB);
Read more
Red dahlia

Watermarking images using GIMP

  • by

After having created images with hard work, you wish to protect your copyright on the images. Watermarking the images is an excellent method prevent any commercial misuse of images. And it can be done easily using the wonderful open source image editing software, Gimp.… Read more