It is currently Thu Apr 25, 2024 8:57 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 31 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Re: Resizing an image with Inkscape
PostPosted: Sat Aug 07, 2010 2:00 pm  (#11) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
Rod wrote:
You can find some great InkScape tutorials at
http://screencasters.heathenx.org/

Excellent link and very nice tutorials. I've watched a few, now to do some. Hopefully it will get me better acquainted with Inkscape.

Thanks Rod. :-D

_________________
Image
World War IV will be fought with sticks and stones. - Albert Einstein


Top
 Post subject: Re: Resizing an image with Inkscape
PostPosted: Sun Aug 08, 2010 2:05 pm  (#12) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
Any time, here are a couple more for you. =)

Another user manual.
http://www.angelfire.com/mi/kevincharle ... index.html

FAQ about InkScape
http://www.libregraphicsworld.org/faq.php?cat_id=4

Inkscape keyboard and mouse reference.
http://inkscape.org/doc/keys046.html

An open source book on InkScape from the contributing users.
http://en.flossmanuals.net/inkscape
A link to dl the PDF for above book.
https://docs.google.com/viewer?url=http ... edded=true

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: Resizing an image with Inkscape
PostPosted: Thu Dec 19, 2013 12:37 pm  (#13) 
Offline
GimpChat Member

Joined: Dec 19, 2013
Posts: 8
I tried to do as instructed in this post and it seems to not work as expected. I have an image that is 7x8". I opened it in Gimp and changed the resolution so it is displayed as 2x3". I then saved it as png and opened it in Inkscape and the image is still 7x8". The instructions are unclear at that point. I don't want to scale in Inkscape because then I am throwing away print resolution. How do I convert this to a high resolution image?


Top
 Post subject: Re: Resizing an image with Inkscape
PostPosted: Thu Dec 19, 2013 1:22 pm  (#14) 
Offline
Global Moderator
User avatar

Joined: Nov 16, 2011
Posts: 5128
Location: Metro Vancouver, BC
When you use Image → Scale Image in Gimp resize with x & y dimensions.
If you need print resolution (300+ PPI) use Image → Print Size instead.
Set resolution & dimensions before any image manipulation.

_________________
Image
Gimp 2.8.18, Linux, median user
Gimp Chat Tutorials Index
Spirit Bear (Kermode)


Top
 Post subject: Re: Resizing an image with Inkscape
PostPosted: Thu Dec 19, 2013 2:07 pm  (#15) 
Offline
GimpChat Member

Joined: Dec 19, 2013
Posts: 8
Does not work. I have tried both Print Size and Scale and in both cases, the resolution changes, the image is correctly reopened by Gimp with the higher resolution, but imported into Inkscape, there is no change in the image size relative to the page.


Top
 Post subject: Re: Resizing an image with Inkscape
PostPosted: Thu Dec 19, 2013 2:58 pm  (#16) 
Offline
Global Moderator
User avatar

Joined: Nov 16, 2011
Posts: 5128
Location: Metro Vancouver, BC
If print size (2 x 3") is important to you why does it matter if screen size is 7 x 8"?
Screen size and print size are not related. Changing resolution does not change screen dimension.
Try this make a 7 x 8" image, default resolution (72 PPI) in Gimp.
Check the image size at the top of the Gimp Window.
Image → Print Size change the resolution to 300 PPI.
Check the image size at the top of the Gimp Window, it should be the same as before. That is why Inkscape shows the size as 7 x 8" even though you changed resolution. The only difference when you change resolution is when printing.

Think of resolution not in screen size but pixel density.

_________________
Image
Gimp 2.8.18, Linux, median user
Gimp Chat Tutorials Index
Spirit Bear (Kermode)


Top
 Post subject: Re: Resizing an image with Inkscape
PostPosted: Thu Dec 19, 2013 3:12 pm  (#17) 
Offline
GimpChat Member

Joined: Dec 19, 2013
Posts: 8
What you are saying is true if you are only going to view on screen. I don't think what you say is correct in our modern age of "printing". Just for example, lets say I have an image that at 72 dpi screen resolution is too large for the journal page so I rescale it to smaller but higher resolution. For the print version, the journal printer is much higher resolution than a monitor. Thus if you are going to print at 300 dpi, there is no point if giving the journal a 72 dpi image and that is what happens if you downsize and do not increase resolution. More importantly, you make a pdf for the digital version, if you make it from a 72dpi image, when someone tries to zoom into the image to actually see what data is there from the postage size image in the pdf, they will see the 72dpi worth of data. If the original image is 300 dpi, they will be able to zoom in and see something closer to the actual data.


Top
 Post subject: Re: Resizing an image with Inkscape
PostPosted: Thu Dec 19, 2013 4:56 pm  (#18) 
Offline
Global Moderator
User avatar

Joined: Nov 16, 2011
Posts: 5128
Location: Metro Vancouver, BC
daknecht wrote:
... Thus if you are going to print at 300 dpi, there is no point if giving the journal a 72 dpi image and that is what happens if you downsize and do not increase resolution. More importantly, you make a pdf for the digital version, if you make it from a 72dpi image, when someone tries to zoom into the image to actually see what data is there from the postage size image in the pdf, they will see the 72dpi worth of data. If the original image is 300 dpi, they will be able to zoom in and see something closer to the actual data.
I believe your original problem was regarding why Inkscape still shows a 7x8" image even though you changed resolution in Gimp. The experiment I mentioned in my last post using Gimp points out why.

I always recommend using 300+ PPI resolution for printing, for screen only 72 PPI is sufficient.
I suggest further reading,
Coming to Terms with DPI, PPI and Size
Display, Printing, DPI and PPI

_________________
Image
Gimp 2.8.18, Linux, median user
Gimp Chat Tutorials Index
Spirit Bear (Kermode)


Top
 Post subject: Re: Resizing an image with Inkscape
PostPosted: Thu Dec 19, 2013 5:14 pm  (#19) 
Offline
GimpChat Member

Joined: Dec 19, 2013
Posts: 8
I am not sure what you are suggesting and feel like we are back to the beginning. The problem I am having is that I cannot figure out how to make my image 300dpi in Inkscape. I don't know of any image resolution control in Inkscape, only a size control which downsamples the image. The resolution control in Gimp does not appear to be saved so that I can open images with increased resolution in Inkscape.


Top
 Post subject: Re: Resizing an image with Inkscape
PostPosted: Thu Dec 19, 2013 5:28 pm  (#20) 
Offline
GimpChat Member

Joined: Dec 19, 2013
Posts: 8
"If print size (2 x 3") is important to you why does it matter if screen size is 7 x 8"?
Screen size and print size are not related. Changing resolution does not change screen dimension."


This is not true. The screen is 72 dpi. A 8.5x11" page (as Inkscape works and our printed page will look) is 612x792 pixels. When I import an image that is 784x694 pixels (I am using this example because that is what I am trying to do) it should import it at 10.9x9.6". {as an aside, Inkscape is actually importing as 90 dpi for reasons I don't understand. Canvas did this exactly as I am describing}. If I want that to appear on the page as 3x2" then I have to increase the resolution of the image to 260dpi. I have been preparing figures for journal publication by doing exactly this procedure in Canvas for 25 years until they stopped supporting Macs. Now I am trying to replicate it in Gimp/Inkscape.


Top
 Post subject: Re: Resizing an image with Inkscape
PostPosted: Thu Dec 19, 2013 5:39 pm  (#21) 
Offline
Global Moderator
User avatar

Joined: Nov 16, 2011
Posts: 5128
Location: Metro Vancouver, BC
daknecht wrote:
I am not sure what you are suggesting and feel like we are back to the beginning. The problem I am having is that I cannot figure out how to make my image 300dpi in Inkscape. I don't know of any image resolution control in Inkscape, only a size control which downsamples the image. The resolution control in Gimp does not appear to be saved so that I can open images with increased resolution in Inkscape.
Image Resolution info from the Inkscape web site.

_________________
Image
Gimp 2.8.18, Linux, median user
Gimp Chat Tutorials Index
Spirit Bear (Kermode)


Top
 Post subject: Re: Resizing an image with Inkscape
PostPosted: Thu Dec 19, 2013 5:59 pm  (#22) 
Offline
GimpChat Member

Joined: Dec 19, 2013
Posts: 8
That link explains why I am getting images sized as if they are 90dpi rather than 72 dpi. Still doesn't tell me how to change the resolution so they are sized on the page correctly.


Top
 Post subject: Re: Resizing an image with Inkscape
PostPosted: Thu Dec 19, 2013 6:38 pm  (#23) 
Offline
GimpChat Member
User avatar

Joined: Jul 17, 2012
Posts: 2770
i must say that i do not really understand what this tutorial is for

is the OP suggesting we should use Inkscape for scaling images instead of Gimp ?
if so, why ?

importing a png image into Inkscape is not converting it into a vector

so the reason we would do this is because its seems to be easier (grabbing and dragging handles) ?

i know from experience that png images scaled in Inkscape, dont look as good as scaled in Gimp
i think i read somewhere that has to do with the scaling algorithm IS uses

also exporting images from gimp, then importing into IS and then exporting again to import again into Gimp, how complicated is that, when you can do it all in Gimp just the same ?


Top
 Post subject: Re: Resizing an image with Inkscape
PostPosted: Thu Dec 19, 2013 7:41 pm  (#24) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
Esper wrote:
i must say that i do not really understand what this tutorial is for

is the OP suggesting we should use Inkscape for scaling images instead of Gimp ?
if so, why ?

As you can see, the tutorial was written slightly more than 3 years ago. At that time, drastic resizing in Gimp was poor, especially if enlarging an image. Today, resizing an image in Gimp is much, much better. :clap

Since Inkscape uses vectors, the resizing in it was smoother and more accurate.

_________________
Image
World War IV will be fought with sticks and stones. - Albert Einstein


Top
 Post subject: Re: Resizing an image with Inkscape
PostPosted: Thu Dec 19, 2013 8:10 pm  (#25) 
Offline
GimpChat Member
User avatar

Joined: Jul 17, 2012
Posts: 2770
Oregonian wrote:
As you can see, the tutorial was written slightly more than 3 years ago. At that time, drastic resizing in Gimp was poor, especially if enlarging an image. Today, resizing an image in Gimp is much, much better. :clap

im aware the tut is three years old
that was actually included in my initial post, but then i edited it out

Quote:
Since Inkscape uses vectors, the resizing in it was smoother and more accurate.

images are not converted into vectors just because you import them
you need to trace an image to convert it into a vector and the result looks much different !

Quote:
At that time, drastic resizing in Gimp was poor, especially if enlarging an image. Today, resizing an image in Gimp is much, much better.

i see
good for us :bigthup

hopefully that clears it up for daknecht as well
at least the part with scaling in Inkscape, because i still think its a bad idea


Top
 Post subject: Re: Resizing an image with Inkscape
PostPosted: Thu Dec 19, 2013 9:03 pm  (#26) 
Offline
GimpChat Member

Joined: Dec 19, 2013
Posts: 8
This clears up nothing at all. The issue remains the same. If there is no way of adjusting resolution of images in Inkscape then I will have to move on to other software, much as I like using open source solutions. Without that feature, Inkscape is not much use to me. You can not correctly put together figures for publication if you cannot keep full resolution image data and combine it with vector and text.


Top
 Post subject: Re: Resizing an image with Inkscape
PostPosted: Thu Dec 19, 2013 9:55 pm  (#27) 
Offline
GimpChat Member
User avatar

Joined: Jul 17, 2012
Posts: 2770
daknecht wrote:
This clears up nothing at all

it seems there is a lot of confusion going on

from what i understand you looked for a solution to your problem and found this tutorial, which i think is actually adding to the confusion
it may have been relevant three years ago, but not today

you start with this post:
daknecht wrote:
I have an image that is 7x8". I opened it in Gimp and changed the resolution so it is displayed as 2x3". I then saved it as png and opened it in Inkscape and the image is still 7x8".

you speak of an image 7x8"
you dont tell us about the dpi, so i assume it must be 300, because you want to print it

7x8" at 300dpi = 2100x2400px

next you want to have it displayed at 2x3", which you try to achieve by changing the resolution
why do you want to change the resolution ? it has to remain at 300dpi for printing !

and whats up with the size: is the aspect ratio changed as well or is that a typo ?
if you scale down the width to 2" the height changes accordingly to 2,287", not 3"

daknecht wrote:
This is not true. The screen is 72 dpi.

this is a common misconception which is explained in the link Odin already gave you:
http://photo.net/learn/resize/



i really dont see the problem, images can be scaled in Gimp and you shouldnt scale anything other than vectorimages in Inkscape, because thats what it was made for

if you want to make some of your stuff in Inkscape (e.g: personally i find working with text in IS much more comfortable) use your actual Gimp-pagesize at 300dpi in the correct pixelsize for your IS document properties

lets say you want to create a page A4 for print
so you setup your canvas-size as 2480x3508px (at 300dpi !) in Gimp

do your vectorstuff in Inkscape, then export as a bitmap with the pixelsize as above (page)
resolution doesnt matter

then import that image as a layer in Gimp


Last edited by Esper on Thu Dec 19, 2013 10:31 pm, edited 1 time in total.

Top
 Post subject: Re: Resizing an image with Inkscape
PostPosted: Thu Dec 19, 2013 10:30 pm  (#28) 
Offline
GimpChat Member

Joined: Dec 19, 2013
Posts: 8
I was estimating in my earlier post and tried to be more accurate in the later one. So lets take this again from the top. We will take my later numbers as that is one I am currently working on. In the current figure, I am combining 6 different images plus a line drawing graph generated in Prism into a final figure for a manuscript for publication in a scientific journal. I will be submitting it as a pdf to be printed in the hard copy journal and online as a pdf. The graph is vector line drawing data and text, and arrows and lettering (A, B, C, D, E, F) will be added to identify the 6 images. Often, not all the images are the same original size and need different resolutions to make it work, but lets leave that out. A drawing program that mixes vector graphics and bitmap images has always made this easier because it is based on a printed page size and that is the ultimate target. We want the figure to fit into a single or double column width printed page (and pdf) so it will be either 4 or 8" wide in the final output.
So now I import my 6 images into the Inkscape 8.5x11" page and each is 784x694 pixels. That has no inherent size, but viewed on a 72 dpi monitor it appears to have a physical size relative to the page ruler of 10.9 x 9.6 inches. In Canvas, I would then select the image object, go to Properties and change the Resolution to 260dpi to make it appear about 3" wide on the page. I would do the same for all 6 images and then arrange the 6 images into a 3x3 grid and label them with A, B, C.... add arrows to point out features. Then I import the line drawing graph and arrange it on the page and my figure is done and correctly sized for publication.
If I do the same in Inkscape, my images come in showing as 10.9x9.6 inches (actually slightly smaller because of the built in 90 dpi instead of 72 dpi default) and the only option seems to be to scale the images to 28% to get them to the right size relative to the page, thereby throwing away ¾ of the actual data. That is an unacceptable loss of resolution.
I could use Gimp by expanding the canvas size and bringing all the elements into the canvas and arranging them, but now because everything is a bitmap instead of individual elements on a letter sized page, arranging those elements on the canvas is challenging at best.
I hope the goal is now clear. If I am not understanding something or missing a way to do this easily in Inkscape or Gimp, please elaborate. Thanks for all the input!


Top
 Post subject: Re: Resizing an image with Inkscape
PostPosted: Thu Dec 19, 2013 11:09 pm  (#29) 
Offline
GimpChat Member
User avatar

Joined: Jul 17, 2012
Posts: 2770
if i understand everything you just posted correctly, what you want is doing all the layout in Inkscape

your page-size is 8,5x11" (=2550x3300px at 300dpi)
you have six images 784x694px (dpi unknown, i guess these images are photos)
you want to add lettering, graphs and arrows to your six images in IS

it seems to me the confusion comes from the six images of unknown resolution
you seem to think, Inkscape changes the resolution of these images automatically
depending on the rule that images should never have a lower resolution than 300dpi for print i cant really help you with your problem
you can make a vector any size you want but a rasterbased image is dependent on its pixelsize and resolution, i dont think Inkscape changes that really in any way, but im not sure

but what you could do, is do all your layout with rectangles as placeholders for your images, export as a bitmap (possibly as several layers)
import into Gimp and then import your six images and see if they fit (but that again depends on the actual resolution of your images)


Top
 Post subject: Re: Resizing an image with Inkscape
PostPosted: Fri Dec 20, 2013 1:03 am  (#30) 
Offline
GimpChat Member
User avatar

Joined: Sep 22, 2012
Posts: 2089
Location: US
Why your PDF should be assembled in Inkscape?
Inkscape is resolution independent editor and it wasn't really designed with printing in mind,
much less for embedded bitmap quality resolution adjustments.

Use the right tool - Scribus (free Open Source software). For the hard copy journal the publisher might ask your PDF to be converted to CMYK color space,
which neither GIMP nor Inkscape are capable of. Scribus can convert PDF to CMYK-only color space.
It has more robust than gimp/inkscape support for the high quality PDFs and imports bitmap and vector files (svg).
Import bitmap files (prepped in GIMP to desired resolution and print size), svg from Inkscape, arrange, adjust, convert to CMYK, save as PDF.
It's been awhile since I used Scribus (using inDesign now) so I might have forgotten certain things :) but Scribus is one of the best free pdf creators out there.


Top
Post new topic Reply to topic  [ 31 posts ]  Go to page 1, 2  Next

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Help with image resizing

2

No new posts Resizing Images

6

No new posts Attachment(s) Resizing Pictures

2

No new posts GMIC Montage - how to prevent resizing

2

No new posts Is this possible in Inkscape?

3



* Login  



Powered by phpBB3 © phpBB Group