Bessemer
-
Content count
25 -
Joined
-
Last visited
Posts posted by Bessemer
-
-
Yes, at present, fusion charts only supports saving multiple charts images into a whole single file. If you really need to save the image into several seperate files, you can search for a certain third party image saving plugin to finish the task before fusion charts works out the required chart image exporting and saving tool.
-
Your solution is a good example for me to solve my annoation creation and annotation object displaying problems, hope i am lucky enough to fix the problem.
-
I am currently using the program "fusion chart v3 Enterprise version".
When I tried to export into an image, I couldn't find the exportHandlers folder which I was able to when I was using the evaluation version, and I couldn't see the "save as image" menu on my right click.
Is the file I have the problem? or am I just not capable of using your program?
and I use PHP.
Try integrating and implementing an image saving add-on to the chart exporting application.
-
Yes, we can refer to the exportAction attribute to save the chart as usually used image formats, such as jpeg, bmp, png, gif or tiff. As the image saving and image downloading functions are two seperate options, you can only save image first and then downloading it.
-
I only know how to I convert Fusionchart SVG to image format, such as png, gif, or jpeg, but I don't know how to convert Fusionchart SVG tO DataUrl. SVG is a vector image format, and png, gif, bmp or jpeg is raste image files, it is quite easy to convert vector image to raster image as long as you refer to a mature image converter, then load and click the convert button, you can get raste image formats.
-
I agree with following steps to save to pdf document:
1. Batch export the charts and save them as images.
2. When the export callback function is raised call the PDF generator to convert the entire page into PDF.
3. Now use PHP library functions to overlay the exported chart images at the required positions in the generated PDF file.Or you may try to use a pdf converting tool to directly convert the chart as image.
-
To be honest, I know a little on how to convert FusionMaps to image, but if the FusionMaps is in daily used image or document formats, you can refer to an image converting library to convert the FusionMaps and the contained card into any raster and vector image files, for example, jpeg, bmp, gif, png, tiff, svg or even psd.
-
Yes, here is another presumption, can I implement the chart into a pdf saving plugin that can directly export and save as pdf document instead of using the button or right clicking on the chart and saving it to pdf?
-
I am using a pdf saving pro, which is desinged to run within .net framework. Each time I need to save the loaded file into pdf document, I just need to run and debug the pdf getting started application, the file will be automatically stored and exported in pdf document.
-
If you are going to export and save the charts directly as images, such as JPG/JPEG/PNG/PDF directly without rendering it in the browser, you may integrate an image saving plugin within your ipage loading application. Of course, you need to be sure that the image saving add-on should be compatible with your currently used application.
-
I program my pdf saving or creating application with vb code but not java, if you think my solution may help you, you can check the corresponding pdf saving methods.
-
Please try this image saving methods to program a simple image saving application, which supports saving image file using different image encoders, including tif encoder, jpg encoder, png encoder, bmp encoder and gif encoder.
Shared Sub SaveImageFile(image As REImage, filePath As String)
End Sub
Public Shared Sub SaveImageFile(image As REImage, filePath As String, enc As BaseEncoder)
End Sub -
The programming concept of adding and showing line annotation on linear gauge is similar with line annnotation add-on to raster image file:
Private Sub button1_Click(sender As Object, e As EventArgs)
Dim obj As LineAnnotation = AnnotationGenerator.CreateLineAnnotation(60F, 45F, 560F, 228F)
'create a new LineAnnotation with start and end point
obj.LinePen = PenGenerator.CreateLinePen(Color.Blue, 5F)
'set line color and width
'set line startcap
obj.LinePen.StartCap = New RasterEdge.Imaging.Annotation.Basic.LineCap()
obj.LinePen.StartCap.Cap_Width = 2F
'set startcap width
obj.LinePen.StartCap.CapStyle = RasterEdge.Imaging.Annotation.LineCapStyle.Diamond
'set startcap style
'set line endcap
obj.LinePen.EndCap = New RasterEdge.Imaging.Annotation.Basic.LineCap()
obj.LinePen.EndCap.Cap_Width = 10F
obj.LinePen.EndCap.CapStyle = RasterEdge.Imaging.Annotation.LineCapStyle.Rectangle
Dim folderName As String = "C:/"
Dim img As Bitmap = obj.CreateAnnotation()
img.Save(folderName & "LineAnnotation.png")
End Sub -
Did you mean that you want to save the image from pdf document independently but not save the whole pdf file? Well, to this issue, how about exporting all the image files out from the pdf by using an ocr reader to extract the text and image. After extracting the image out, then you can use an image saving plugtin to save the images as your needs.
-
well, have you ever tried to implement a pdf saving plugin to your project, I can share following pdf saving methods with you that come from a third party, you can call the apis to prorgam a small pdf saving application:
Private Sub Save(filePath As [string]) Implements PDFDocument.Save
End Sub
Private Sub Save(s As Stream) Implements PDFDocument.Save
End Sub
Private Sub SaveDocumentFile(doc As REDocument, filePath As [string], decoder As BaseDecoder) Implements REFile.SaveDocumentFile
End Sub -
I am not so clear on using annotation to render a image. We know, annotation is a object tool that we use to highlight, note, underline the image or document page contents. I linked the url, and it explain how to add annotation to image using XML code. I didn't use XML code tp program annotation tool, but javascript and asp.net controls. If it can be helpful, my pleasure.
-
As far as I am concerned, image saving and image converting have some similarities. If we implement a mature image saving tool, which allows for saving current image or document file into other image or document file, like jpeg, png, bmp, gif, tiff, pdf and even Word, we can save and convert our file into these formats.
-
As to how to create and set the position of annotation text to the center above the gauge like fusion charts XT which has option of "Caption", we can call the methods of location of X and Y coordinates, see text annotation creation and positon adjusting below:
Public Shared Function
CreateTextAnnotation(x As Single, y As Single, w As Single, h As Single, text As String, font As Font) As TextAnnotation
End Function
Public Shared Function
CreateTextAnnotation(x As Single, y As Single, w As Single, h As Single, text As String, font As Font, _
fontBrush As AnnotationBrush, outline As AnnotationPen, fill As AnnotationBrush, shadow As AnnotationBrush, shadowX As Single, shadowY As Single) As TextAnnotation
End Function -
This is an image converter in asp.net applciation which prorgams image to chart ot other image or document conversion based on the simple asp.net and javascript controls, check it to see it fulfill your needs or not.
-
It's very smart for you to adpot a image converting applciation to trasform the chart to image and then render image to pdf, for image to pdf saving, I just search a big third party sit and get this:
public static void SaveImageFile(Image image, string filePath);
public static void SaveImageFile(Image image, string filePath, BaseEncoder enc); -
Java APIs for imafe creating is not popular, and if you need, I can share this C# APIs to create image from a third part image gallery.
public REImage();
public REImage(int w, int h);
public REImage(int w, int h, ImageMode mode);
public REImage(int w, int h, ImageMode mode, byte[] data);
public REImage(int w, int h, ImageMode mode, byte[] data, RColor[] colorPalette); -
Yep, I agree with what said above, if you are capable of using .NET to across your organization, you can choose to create image in Visual .NET application, it's easy to do with the comprehensive image creation methods.
Using DrawingPad with annotation
in Suggestions & Requests
Posted · Report reply
To be frank, I don't use Fusion chart annotation tool to add annotation tag to chart images, but with a third party image annotation add-on, which allows to combine the annotation application with chart image and draw and add annotation tag to chart image easily.