I'm trying to export images to a twitter account with mathematica and the quality of the images is rather disappointing.
Here are the others in case you want to see it in the wild: here
This is the code I use to export.
ServiceExecute[twitter, "ImageTweet", {"Image" -> plot}]
Where plot is the output of a simple ListLinePlot function. Cannot find any documentation about this. I tried making the image larger but that only made for a larger and uglier post. Any help is appreciated.
As per comments, the rasterized image looks like this when exported to my computer:
but if I tweet the image the result is quite ugly:
I didn't add a mwe before since you need a tweeter account to try it, but here it is:
twitter = ServiceConnect["Twitter"]
plot = Rasterize[
ParametricPlot[{Sin[t], Cos[t] + Sin[\[Pi] t]}, {t, 1, 10},
Axes -> False, AspectRatio -> 1, Background -> Hue[color],
ImageSize -> Large], RasterSize -> 2000, ImageSize -> 800]
ServiceExecute[twitter, "ImageTweet", {"Image" -> plot}]



Rasterize[]first to ensure an image of known resolution is being tweeted? – J. M.'s missing motivation May 20 '16 at 03:06"Image"as the second argument toRasterizefor preserving quality on export, see here detailed explanations. But it does not explain the catastrophic loss of the quality in your case; looks like your image is tweeted in a lossy JPEG format. – Alexey Popkov May 20 '16 at 07:25PacletInformation["ServiceConnection_Twitter"]returns{}– tsuresuregusa May 20 '16 at 23:35