Hello,
I've imported a 400x400 pixel TIFF image into an inkscape drawing, and it comes out as 112.89 x 112.89 mm, which translates to a resolution of roughly 90 dpi.
Where does this number come from? Shouldn't inkscape honour the dpi information that is embedded in the TIFF image?
Alternatively, for images that don't have a "built-in" resolution, inkscape should ask for a "native" size of the image or use a changeable default resolution.
Also I noticed that some imported images have width and height xml attributes while others don't. All this came to my attention when I worked with a SVG file with 20 imported images of about 10MB each (TIFF uncompressed) which bogged down my computer. I tried substitutung the TIFFs with scaled-down (by .25) working copies, which worked fine for those images that had width and height attributes (the others came out a fourth of the size),
I'm just wondering how Inkscape arrives at the "native" size of an image, and I wanted to know if others agreed with my notion that in a vector drawing program the resolution of imported bitmaps was of high importance.
It would also be nice if Inkscape could somehow reload image properties if the original bitmap had changed (by scaling or cropping, for instance).
Thanks, --Dan
For the record,
dh@...1640...:~$ inkscape --version Inkscape 0.41.1 (Dec 2 2005) dh@...1640...:~$
However, I've looked through Inkscape's changelog but couldn't find any younger entry dealing with this issue, so I guess it's still like back then in 2005.
we should stay at pixels... have a special build that only works in pixels... and nothing more.
let the rest for other apps.
InkScape is a great module for ZenSUI
eh... triad... moo...
2007/1/22, Dan H. <dunno@...1090...>:
For the record,
dh@...1640...:~$ inkscape --version Inkscape 0.41.1 (Dec 2 2005) dh@...1640...:~$
However, I've looked through Inkscape's changelog but couldn't find any younger entry dealing with this issue, so I guess it's still like back then in 2005.
Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=D... _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
On Jan 22, 2007, at 1:34 AM, Dan H. wrote:
Hello,
I've imported a 400x400 pixel TIFF image into an inkscape drawing, and it comes out as 112.89 x 112.89 mm, which translates to a resolution of roughly 90 dpi.
Where does this number come from? Shouldn't inkscape honour the dpi information that is embedded in the TIFF image?
One note is that the API's we use to load images do not provide us with that DPI info.
On 2/9/07, Jon A. Cruz wrote:
One note is that the API's we use to load images do not provide us with that DPI info.
What API do you mean btw? Is it gdk_pixbuf? Should we trouble its developers?
The reason I'm asking is that this question pops up every once in a while. in forums.
Alexandre
On Aug 30, 2007, at 8:55 AM, Alexandre Prokoudine wrote:
On 2/9/07, Jon A. Cruz wrote:
One note is that the API's we use to load images do not provide us with that DPI info.
What API do you mean btw? Is it gdk_pixbuf? Should we trouble its developers?
The reason I'm asking is that this question pops up every once in a while. in forums.
Yes, I believe that is it.
There is some meta-data you can be interested in, but it seems like only people *supporting* image types are allowed to set things.
At a minimum we'd need both X and Y DPI, as several formats allow for differing sizes.
participants (4)
-
Alexandre Prokoudine
-
Dan H.
-
Esteban Barahona
-
Jon A. Cruz