We are planning to replace Rasterize
and all Export
#275
JerryI
started this conversation in
Graphics & Plot functions
Replies: 2 comments 2 replies
-
Update 12.Sep.2024
|
Beta Was this translation helpful? Give feedback.
2 replies
-
Was dumping what looks like internal commands/data instead of rasterized image. Uninstalled, removed all installation directory, installed again - rasterization works now. Please disregard |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It was reported multiple times, that
Export
andRasterize
is quite buggy in WLJS Notebook.Our recreations of the native
Plot
,Graphics
andGraphics3D
are still far from being perfect. Some styling options are missing. People have been usingExport
andRasterize
, which produce "original" Mathematica's graphics considering all styles. However, now we (@KirillBelovTest and I @JerryI ) are struggling with several problems:Rasterize
(as well asExport[out_, g_Graphics]
) for some reason usesStandardForm
of expressions, which we had to alter in order to support Mathematica's syntax sugar, expressions styling and many more things in our environment.Rasterize
orExport
does not match with a look of graphics in a notebook cell (since it uses different implementations of primitives).Export
breaks our styling and vise versa.From this on, we believe the way of still trying to support Mathematica's output is probably doomed. There is a suggestion, which was already successfully tested to completely clear the symbol
Rasterize
and replace it with our own, i.e.it will affect
Export
automatically.What it means in a nutshell:
Test export
Please share your opinion.
I personally believe this is more progressive way, focusing on WLJS versions of
Plot
,Graphics
and etc, improving it, adding requested style options and other features.It would be also helpful if you could mention the styling options and any other features related to
Graphics
andGraphics3D
which you need in your daily work. Then we can prioritize them in a right wayBeta Was this translation helpful? Give feedback.
All reactions