Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.
|
|
anyone
Posts:
26
Registered:
12/22/12
|
|
Re: Hi-resolution jpeg or vectorial graphics?
Posted:
Jan 30, 2013 8:35 PM
|
|
On Thu, 31 Jan 2013 01:28:12 +0000, Vittorio wrote:
> Thank you. It's people like you that make this community invaluable.
No charge.
> Luckly I solved my problem by placing an EPS wrapper around a JPEG, > using sam2p (http://code.google.com/p/sam2p/).
You must have a uniquely odd configuration. > anyone <jaup@h/WSWLG{nR1³qHe> wrote in message > <51097c9f$0$51973$c3e8da3$5d8fb80f@news.astraweb.com>... >> On Mon, 28 Jan 2013 23:04:08 +0000, Vittorio wrote: >> >> > Hello, >> > >> > I'm writing for the first time to the community because I need help >> > in generating an image. I have an image that I plot using pcolor, it >> > is the rendering of an electromagnetic imaging algorithm (it looks >> > like a sort of mri). I have to overlap on top of this image a couple >> > of simple shapes (circles, lines, etc) to indicate the actual >> > position of the objects that I am imaging. I need the output to be a >> > very high resolution jpeg or a vector graphics image. >> > >> > As far as I know there are two ways to do that, and I am failing at >> > both :) >> > >> > 1) Save the image obtained with pcolor as eps, then somehow overlap >> > to it the circles/lines, and save everything as a new eps. I simply >> > don't know how to manipulate eps files, so this has failed me. Using >> > eps might or might not make sense, since my original image is like an >> > mri, not at all vectorial-looking. >> > >> > 2) Save the image as a high resolution Jpeg and then "photoshop" on >> > top of it the circles/lines. The problem here is that when I save the >> > image its resolution turns out to be 96 dpi, which is not sufficient >> > (I need at least 300 dpi). I have tried also this: >> > print(h,'-djpeg','-r300','image_hires.jpg') >> > but it does not work. In the properties of window it says it is still >> > 96 dpi, and when I have the image checked by the online tool that has >> > to approve it, it says that the resolution actually became 72 dpi. >> >> Well, that's odd. I more or less routinely save figures to high-res >> png and jpg -- similar to your syntax -- and that works as expected. I >> usually use Gimp, Paint Shop Pro, or Inkscape for post-edit, and each >> of those will show dpi or ppi that is entirely consistent with my >> Matlab choice, from R2012b and further back than R2009a. >> >> > Does anybody have suggestions on how I should proceed? >> >> Nope. >> >> >By the way, I am using MATLAB R2011b. >> >> > Thanks in advance, >> >> For what? >>
|
|
|
|