Tuesday, 15 August 2017

Trying to improve resolution of pictures on Blogger...

Key step 1:

Use Original size!

Some advice here:
https://xomisse.com/blog/how-to-fix-blurry-images-on-blogger/

It's a bit frustrating and I really need to find a robust way to do this!!!!

explot_1 
PNG file
Direct export from RStudio - 600 x 300 pixels
Text size = 10
Shown below as original size.


Not too back actually in terms of the text and the line.
Probably not publication standard :-(


explot_2 
PNG file
Direct export from RStudio - 900 x 300 pixels
Text size = 10
Shown below as original size.
Text fills less of the bars.


explot_3 
PNG file
p + ggsave("explot_3.png",
           width = 4, height = 2, units = "in",
           dpi = 600)
Text size = 10
Shown below as original size.

Shown here as x-large

So text fills a lot more of the image as the text size is fixed - 10mm, I guess.


explot_4.png
p + ggsave("explot_4.png",
           width = 2, height = 1, units = "in",
           dpi = 600)

Original size:


Shown here as x-large



However, when I just export my five columns, I get dreadful pixillation of my text...


lines pixillated too. 

Try this:
p + ggsave("five_rect.png",
           width = 10, height = 5, units = "cm",
           dpi = 600)




Adding some text with size = 2 - should be 2mm, I think. 

p + ggsave("five_rect_with_text.png",
           width = 10, height = 5, units = "cm",
           dpi = 600)

Lots of work on adjusting sizes etc... all a bit painful and frustrating but...




BACK TO USING DEFAULTS




No comments:

Post a Comment