Inclusion of Colored BMP Figures

Oguzhan Cifdaloz Oguzhan.Cifdaloz at ASU.EDU
Fri Aug 13 11:30:09 CEST 2004


Frank,

I'm sorry I have not told you that I tried it with no luck.
I guess I need to learn how to use dvipsone.

Thank you,

Oguzhan
----- Original Message -----
From: "Ganz, Frank, SV USA" <Frank.Ganz at SPRINGER-SBM.COM>
To: <YANDYTEX at LISTS.UCC.IE>
Sent: Friday, August 13, 2004 9:41 AM
Subject: Re: Inclusion of Colored BMP Figures


> Oguzhan,
>
> Did you try \usepackage[dvi2ps]{graphicx}?
>
> If this doesn't give you an error, you don't need to learn how to use
dvipsone.
>
> Thanks,
> Frank
>
> >-----Original Message-----
> >From: Oguzhan Cifdaloz [mailto:Oguzhan.Cifdaloz at ASU.EDU]
> >Sent: Friday, August 13, 2004 12:22 PM
> >To: YANDYTEX at LISTS.UCC.IE
> >Subject: Re: Inclusion of Colored BMP Figures
> >
> >
> >Frank,
> >I've never used dvipsone as my PostScript driver, how should I do it?
> >Thank you very much for your help.
> >Oguzhan
> >
> >
> >----- Original Message -----
> >From: "Ganz, Frank, SV USA" <Frank.Ganz at SPRINGER-SBM.COM>
> >To: <YANDYTEX at LISTS.UCC.IE>
> >Sent: Friday, August 13, 2004 6:12 AM
> >Subject: Re: Inclusion of Colored BMP Figures
> >
> >
> >> Hi Oguzhan,
> >>
> >> You have written
> >>
> >>  \usepackage[dvipsone]{graphicx}
> >>
> >> suggesting that you are targeting dvipsone as you PostScript
> >driver. Yet
> >you are not using dvipsone, but dvi2ps instead.
> >>
> >> Either use dvipsone to produce the PostScript or write
> >>
> >>  \usepackage[dvi2ps]{graphicx}
> >>
> >> Handling of graphics is always driver-dependent. I don't
> >know, though, if
> >dvi2ps is an option to the graphicx package.
> >>
> >> On another note, if you are writing something to be given to
> >a publisher,
> >I just want to point out that BMP is an undesired graphics interchange
> >format.
> >>
> >> Thanks,
> >> Frank
> >>
> >> >-----Original Message-----
> >> >From: Oguzhan Cifdaloz [mailto:Oguzhan.Cifdaloz at ASU.EDU]
> >> >Sent: Friday, August 13, 2004 3:01 AM
> >> >To: YANDYTEX at LISTS.UCC.IE
> >> >Subject: Inclusion of Colored BMP Figures
> >> >
> >> >
> >> >HI,
> >> >I have a little problem with including color bmp files in my
> >> >tex document.
> >> >In the dvi, the picture looks in color. I convert it to ps
> >via dvi2ps
> >> >button and it appears in black and white in the ps
> >file.(Hence, my pdf
> >> >includes a black and white figure.)Please include any
> >colored bmp file
> >> >using my code below. I'd greatly appreciate any help on this.
> >> >
> >> >Thank you,
> >> >
> >> >%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> >> >%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> >> >
> >> >\documentclass{book}
> >> >\usepackage[dvipsone]{graphicx}
> >> >
> >> >% ****** Definition for BMP Inclusion *****************
> >> >
> >> >\newdimen\dwidth
> >> >\newdimen\dheight
> >> >
> >> >\def\showbmp#1#2#3{%
> >> >\dwidth=3D#2\dheight=3D#3
> >> >\edef\width{\number\dwidth} \edef\height{\number\dheight}%
> >> >\special{insertimage: #1 \width \space \height}}
> >> >
> >> >\def\centerbmp#1#2#3{\vskip#2\relax\centerline{\hbox%
> >> >to#1{\showbmp{#3}{#1}{#2}\hfil}}}
> >> >% *****************************************************
> >> >
> >> >\begin{document}
> >> >
> >> >Note that the figure appears in color in the dvi.
> >> >\begin{figure}[h]
> >> > \centerbmp{1.0in}{1.0in}{figure1.bmp}
> >> > \caption{STEP Response}
> >> >\end{figure}
> >> >
> >> >\noindent Convert the dvi to ps using the dvi2ps button, and
> >> >distill it =
> >> >using Adobe
> >> >Distiller. The figure appears in black and white in the
> >resulting pdf.
> >> >
> >> >\end{document}
> >> >
> >> >%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> >> >%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> >> >
> >>
> >
>




More information about the yandytex mailing list