- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am trying to export a historgram with journal's requirement in JPEG or TIF/TIFF format, at least 300 dpi and minimal image width is 30 mm (85 pt). However, my code below did not work and kept exporting PNG files with the size of 85 KB.
ods listing gpath="H:\Study\Results" image_dpi=300 /*width=12cm height=9cm*/ device=tiff;
ods graphics / imagename="Lesion Size" ;
title "Distribution of Lesion Size";
proc sgplot data=All;
histogram long_cm / transparency=0.5 scale=percent datalabel=count;
xaxis values=(0 to 11 by 1);
density long_cm / type=normal ;
keylegend / location=inside position=topright across=1 ;
run;
title;
Here is the requirement of the image from the journal: https://www.elsevier.com/authors/policies-and-guidelines/artwork-and-media-instructions/artwork-form...
Could anyone please help me to modify my code? Thank you!
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
https://support.sas.com/rnd/datavisualization/gtl/overview_sect22.htm
https://support.sas.com/rnd/app/ODSGraphics/TipSheet_ODSGraphics.pdf
These links might help you. I think you have to do ods graphics / imagefmt=JPEG to get jpeg format.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
https://support.sas.com/rnd/datavisualization/gtl/overview_sect22.htm
https://support.sas.com/rnd/app/ODSGraphics/TipSheet_ODSGraphics.pdf
These links might help you. I think you have to do ods graphics / imagefmt=JPEG to get jpeg format.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Try that code but with your data. It makes a journal style JPEG.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Does anone know if the default blue or red color meets this journal critera (https://www.elsevier.com/authors/policies-and-guidelines/artwork-and-media-instructions/artwork-type...)?
Grayscale images in TIFF/JPEG format
Grayscale images are distinct from black-and-white images, which in the context of computer imaging are images with only two colors, black and white. Grayscale images have many shades of gray in between.
In computing, a grayscale image is an image in which the value of each pixel is a single sample, that is, it carries the full (and only) information about its intensity.
Grayscale is an image type that defines how the information in the image is to be stored and imaged. A grayscale image is sometimes referred to as an eight-bit image. This format is generally used for halftones because it stores the information for each pixel as a level of gray. There are 256 levels of gray in a halftone.
Requirements
- Images should be in grayscale mode
- Images should have a minimum resolution of 300 dpi
- Images should be tightly cropped
- If applicable please re-label your artwork with a font recommended by Elsevier and ensure it is an appropriate font size
- Save your image in TIFF format (or as JPEG, maximum quality)
RGB images in TIFF/JPEG format
RGB images are made of three color channels (Red, Green, Blue). An 8-bit per pixel RGB image has 256 possible values for each channel which means it has over 16 million possible color values. RGB images with 8 bits per channel are sometimes called 24-bit images (8 bits x 3 channels = 24 bits of data for each pixel).
RGB artwork should comply with the following requirements regardless of the software and hardware used in the process.
Requirements
- Images should be in RGB mode, preferably.
- Images should have a minimum resolution of 300 dpi.
- Images should be tightly cropped.
- If applicable please re-label your artwork with a font supported by Elsevier and ensure it is an appropriate font size.
- Save your image in TIFF format (or as JPEG, maximum quality).
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content