Group Abstract Group Abstract

Message Boards Message Boards

0
|
1.4K Views
|
1 Reply
|
1 Total Like
View groups...
Share
Share this post:

Strange rendering of notebook on Wolfram Cloud

Are notebooks supposed to look like the screenshot here? When I publish a notebook on www.wolframcloud.com, images that look pristine and readable in the notebook or on a printout of the notebook are unreadable on the cloud. I don't have experience. So I don't know if that's to be expected. If it's not, is there some obvious mistake I'm making? How do I troubleshoot the problem.

enter image description here

POSTED BY: Jay Gourley
Posted 1 day ago

Troubleshooting Dynamic Graphic Rendering

1. Adjust Image Resolution (Rasterize)

The most frequent culprit is the display resolution. When an image is dynamically generated, it is often converted (rasterized) into a fixed image format for cloud display. You can explicitly control this process using the Rasterize function and its ImageResolution option before publishing the graphic.

Wrap the graphic command (like Plot, Graphics, etc.) in a Rasterize function and set a higher resolution. Try a value of 300 or higher to start with.

Cell[
  Rasterize[
    Plot[Sin[x^2], {x, 0, 10}, ImageSize -> Large], 
    "PNG", 
    ImageResolution -> 600
  ], 
  "Output"
]

2. Setting Appropriate Image Size (ImageSize)

If the Cloud attempts to scale a small graphic up to a large display area, it may look blurry.

Make sure the graphic has an appropriate size defined within the notebook.

Explicitly define the desired display size using the ImageSize option in your graphic command.

Plot[Sin[x^2], {x, 0, 10}, ImageSize -> 800]

3. Disabling High-DPI Output (Rare)

On some very high-resolution displays, the Cloud tries to send a double-resolution image (HiDPI/Retina) which can occasionally be mismanaged by certain browsers or viewing modes.

If the first two steps fail, try setting the ImageResolution to a specific screen-based DPI value, like 96.

POSTED BY: Rob Pacey
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard