I have forgotten
my Password

Or login with:

  • Facebookhttp://facebook.com/
  • Googlehttps://www.google.com/accounts/o8/id
  • Yahoohttps://me.yahoo.com
Index » Products » LaTeX Equation Editor »

option to specify the resolution?

va.email.tex\′s Photo
26 Dec 13, 4:15AM
(4 replies)
option to specify the resolution?
This is a great editor and a great service. One problem: the resolution of the GIF and PNG images looks quite poor on Retina displays. Is there an option to specify a higher resolution in the web link?

I am aware that one can set a higher DPI and then rescale image height and width. I tried that and ran into problems with my particular usage case. I really would like just an ordinary size image but at a higher resolution. Does this make sense?

I am also aware that one can use SVG images. This unfortunately also does not work for my usage case.
CodeCogs\′s Photo
11 Feb 14, 2:12AM
Hi,

Sorry for the long delay in responding. Did you find a solution to your problem? I am curious to know how gif's etc appear on a retina display, since as you point out surely you just need to increase the DPI. However clearly iPads preserve the original image size, so again I would have expected your scaling to have worked perfectly.

I've had a look at the options we have available for generating a gif, and we can set independently the image size from the DPI. If you're still working on this, then let me know and I'll send you a sample. If it works then we can incorporate this into our service with the next release.
va.email.tex\′s Photo
11 Feb 14, 2:45AM
It was partly my confusion, and I worked out a way that works for me.

My solution is to get the image at a higher DPI, then measure it, then compute the smaller size and set it.

It would be great if there was some way to communicate the size of the image (and the baseline?) together with the image, so that these extra steps could be skipped.

Yes, I would be interested in seeing your sample, please email it.
CodeCogs\′s Photo
11 Feb 14, 3:15AM
If you use
http://latex.codecogs.com/gif.json?1+sin(x)
then we'll report back the position of the baseline and the size (I believe). You'll also have the direct url to retrieve the equation. This is unfortunately a two step process. If you're able to rip apart the gif image we send you, then you can also extract the baseline from the header of the gif - its something we experimented with that I believe is still encoded into the GIF, but I highly doubt anyone uses it.
CodeCogs\′s Photo
11 Feb 14, 3:15AM
Oh. I'll send over a sample tomorrow.
Currently you need to be logged in to leave a message.