Message Boards Message Boards

0
|
3570 Views
|
2 Replies
|
0 Total Likes
View groups...
Share
Share this post:
GROUPS:

ImageSize and ImageResolution incompatibility in Export

Posted 9 years ago

I produced a plot which has many features on it and want to export it as an image, say png. However when I use Export["test.png", Out[530], ImageSize -> Scaled[0.8]] the resolution is low, when I use Export["test.png", Out[530], ImageResolution-> 600] the plot scales incorrectly the objects on it, and using two function together ignores ImageSize command.

Any way to export a plot in high resolution and scaled correctly like I do in the notebook?

Attachments:
POSTED BY: Al Guy
2 Replies
Posted 9 years ago

Use Rasterize with RasterSize option instead of ImageResolution, then Export obtained raster image. Also try do not use Scaled specification for ImageSize. Strongly related MMa.SE thread: "Rasterize: ImageResolution option not working properly."

POSTED BY: Alexey Popkov
Posted 9 years ago

You might try Rasterize in the notebook, with appropriate size and resolution, and then export the raster.

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

Group Abstract Group Abstract