You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
binGraph images are currently output as SVG. These images cannot be easily saved and shared. The proposal is to change the output to PNG. This creates a lossless image, but can be saved + shared easily.
binGraph images are currently output as SVG. These images cannot be easily saved and shared. The proposal is to change the output to PNG. This creates a lossless image, but can be saved + shared easily.
Changes required:
CAPE/lib/cuckoo/common/graphs/binGraph/binGraph.py
Line 172 in 355789c
CAPE/web/analysis/views.py
Line 852 in b772fea
bingraph_svg_content
tobingraph_png_content
(and all other references)bingraph_png_content
needs to be base64 encoded so we can load this into the webpage with minimal effortCAPE/web/analysis/views.py
Line 853 in b772fea
bingraph_svg_path
tobingraph_png_path
(and all other references)All references to
graphs.bingraph.content
in view templates need to be modified to display a base64 encoded image (data URI) (e.g. https://stackoverflow.com/questions/8499633/how-to-display-base64-images-in-html)The text was updated successfully, but these errors were encountered: