Graphics, Figures & TablesI want to insert picture in it own sizes.

Information and discussion about graphics, figures & tables in LaTeX documents.
artemff
Posts: 113
Joined: Sat Oct 17, 2009 11:15 pm

I want to insert picture in it own sizes.

Post by artemff »

How make, that inserted picture not to stretch?

Code: Select all

\includegraphics{me.eps}

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

php1ic
Posts: 192
Joined: Wed Jan 28, 2009 8:17 pm

I want to insert picture in it own sizes.

Post by php1ic »

Try

Code: Select all

\includegraphics[scale=1.0]{me.spe}
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Re: I want to insert picture in it own sizes.

Post by localghost »

This command without any option does include the file in its original size.


Best regards
Thorsten
artemff
Posts: 113
Joined: Sat Oct 17, 2009 11:15 pm

I want to insert picture in it own sizes.

Post by artemff »

php1ic wrote:Try

Code: Select all

\includegraphics[scale=1.0]{me.spe}
I try this, but it don't help me. A picture stretchs.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Re: I want to insert picture in it own sizes.

Post by localghost »

Please clarify the origin of this file (native vector graphic or converted from a pixel based format).
artemff
Posts: 113
Joined: Sat Oct 17, 2009 11:15 pm

Re: I want to insert picture in it own sizes.

Post by artemff »

So, i suppose the file increased after converting. I used jpeg2ps.exe. Are you know how use it correctly or can you advice me normal converter?
P.S. I read documentation and didn't find it.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

I want to insert picture in it own sizes.

Post by localghost »

Usually it doesn't make sense to convert a pixel based format (JPG) to a vector format (PS/EPS) unless your final output format is also postscript. You won't benefit from the advantages of this format. If the final output format is PDF, take the graphics file in JPG format and compile with pdflatex.

You have to scale down your image file to exactly three quarters of its original size.

Code: Select all

\includegraphics[scale=0.75]{filename}
This is caused by the relation between pixel and postscript point (big point, bp). It is true in every case a pixel based format shall be included.
artemff
Posts: 113
Joined: Sat Oct 17, 2009 11:15 pm

I want to insert picture in it own sizes.

Post by artemff »

localghost wrote:Usually it doesn't make sense to convert a pixel based format (JPG) to a vector format (PS/EPS) unless your final output format is also postscript. You won't benefit from the advantages of this format. If the final output format is PDF, take the graphics file in JPG format and compile with pdflatex.
What command use for addition *.jpg files in latex?
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

I want to insert picture in it own sizes.

Post by localghost »

I already said that it is necessary to use the pdflatex compiler engine instead of latex. The command for inclusion remains the same (without suffix).
artemff
Posts: 113
Joined: Sat Oct 17, 2009 11:15 pm

I want to insert picture in it own sizes.

Post by artemff »

localghost wrote:I already said that it is necessary to use the pdflatex compiler engine instead of latex. The command for inclusion remains the same (without suffix).
Thanks.
It's strange, but after compilation *.dvi file normally show inserted *.jpg file.
Post Reply