Re: large images / EPSI



In article <slrne4k5p1.csr.BZ@xxxxxxxxxxxxxxxxxxxxxxxx>,
BZ <BZ@xxxxxxxxxxxxx> wrote:
blmblm@xxxxxxxxxxxxx wrote in comp.text.tex:
Please make one of the PS files available on the net. The suggestion of
others to convert to jpeg and then back to ps (that is rasterizing the
graphics) is the very last resort, first you should try to get decent
vector eps.

Example at http://www.cs.trinity.edu/~mlewis/Rings/vwinbow/.

I've been playing a bit with this example file. It seems the the
suggestion of simply converting it to a real bitmap format is best
(and specifically Piet's suggestion of using Imagemagick with the EPS2
output format).

As I just noted in a reply to another poster (the one who suggested
postprocessing with an awk script) .... Doesn't converting to a bitmap
commit one to a particular resolution? i.e., make it impossible to
scale the resulting image?

The command "convert Fig3.1.ps EPS2:test.eps" converts the original
316MB postscript file to a 517kB (bitmapped) eps (on my linux system).
The bitmap is perhaps a bit on the small side (612x792), but that
should easily be solved by using the right option of the convert
command.

"The right option of the convert command", right .... Okay, a
Google search for "imagemagick" and "eps2" finally pointed me to
appropriate documentation (somehow I didn't find it in the man
page or in a previous cursory look at the referenced Web site,
http://www.imagemagick.org).

It's not obvious to me, though, why converting to EPS2 (which the
documentatation just describes as "Encapsulated Postcript, level 2")
would create a bitmap? and why this would be preferable to other
output formats, such as JPEG or PNG? granted those aren't useful
for processing with latex/dvips, but it seems that pdflatex can
deal with them.

I'm pretty sure, by the way, that higher resolution would be needed;
when I view the 517K EPS, the captions look a bit ragged, and I *think*
(though I'm not 100% sure) that some of the fine detail in the part
of the plot that on first inspection looks like solid gray might be
getting lost. Presumably one could choose higher resolution, and
that might solve these problems.

But a "thank you" to you and all who are contributing ideas. Lots
of things to try, and it's taking a little time to try them all,
but for the record/archives I'm trying to report back on how well
they work ....

--
| B. L. Massingill
| ObDisclaimer: I don't speak for my employers; they return the favor.
.



Relevant Pages

  • Re: WMM 2.1 Hangs and crashs
    ... I'm sorry to say that MPeg is not supported. ... > JPeg images are in a sense like MPeg. ... > these variations it would seem that Movie Maker cannot. ... > The solution is the same for both, convert it to a bitmap On the ...
    (microsoft.public.windowsxp.moviemaker)
  • Displaying a jpeg image sent over the network in a picturebox
    ... I start off with a bitmap image. ... I encode it as a jpeg and send it ... EncoderParameters myParameters; ...
    (microsoft.public.dotnet.framework.drawing)
  • RE: Displaying a jpeg image sent over the network in a picturebox
    ... try Image.FromStream(MemoryStream); ... I start off with a bitmap image. ... I encode it as a jpeg and send it ...
    (microsoft.public.dotnet.framework.drawing)
  • Re: How image size can change using Intel Library
    ... The way I would do it would be to resize the bitmap first and then throw the newly sized bitmap to the Intel library for conversion to jpeg. ... I can understand you wanting to reduce the pixel size of the bitmap because it would give you a much reduced file size at the expense of a slightly reduced quality. ...
    (microsoft.public.vb.general.discussion)
  • Error when trying to pull a jpeg out of a stream..
    ... I start off with a bitmap image. ... I encode it as a jpeg and send it ... MemoryStream memStream = new MemoryStream; ...
    (microsoft.public.dotnet.general)