Unfortunately, my only guess is that you are importing images with the same 
file name (and even same file size, as resizing SVG is sort of meaningless 
unless it contains raster-art elements) from different folder (relative paths). 
For example, you have "Small" and "Large" folders in your images folder/source 
folder. In that case, I would 'accuse' FrameMaker of treating them like the 
same graphic and then using its scaling attributes 'behind the scenes'. But I 
wouldn't expect it to 50% the LARGE one, rather the SMALL one!?!
 
As an aside that could help you workaround this issue: If you do not have 
raster-art elements in your SVGs, why even make two sizes? Rescale as necessary 
during typesetting and layout, save yourself time in Inkscape, and focus on 
choosing a good balance of quality versus size for rasterized version of the 
art (if, for example, you suddenly need to deliver ePubs and cannot yet rely on 
EPUB 3.0 SVG support in every possible reader).
 
But perhaps I am missing some nuance of SVG handling in DITA-aware 
FrameMaker...?
 
--------- Original Message --------- Subject: [Framers] Size of imported SVG 
files
From: "Yves Barbion" <yves.barb...@gmail.com>
Date: 8/22/17 10:55 am
To: framers@lists.frameusers.com

Hi group
 
 I've got 2 SVG images which have the following size in Inkscape:
 
 Image 1, the "large image:
 width: 448 mm
 height: 316 mm
 
 Image 2, the same large image which I scaled in Insckape to the following
 size:
 width: 166
 height: 153
 
 When I put this image in a DITA topic and generate a FrameMaker file from
 my ditamap (using DITA-FMx), I see that the size of the images becomes as
 follows:
 
 Image 1 (large size):
 width: 280 mm
 height: 198 mm
 dpi: 72
 *scaling: 50%*
 
 Image 2:
 width: 207.496 mm
 height: 191.763 mm
 dpi: 72
 scaling: 100%
 
 In DITA, I haven't used any scaling attributes (@scale, @scalefit,
 @outputclass...).
 
 When I *import *these graphics into a new FrameMaker file, the size is as
 follows
 
 Image 1 (large size):
 width: 560.0mm
 height: 396,001 mm
 dpi: 72
 *scaling: 100%*
 
 Image 2:
 width: 207,496 mm
 height: 191,763 mm
 dpi: 72
 scaling: 100%
 
 When I import the graphics at 90 dpi, they have approximately the same size
 as their original size in Inkscape.
 
 Does anyone have any idea why the large image is scaled 50% in the
 FrameMaker file generated from the DITA topic?
 
 Also, I see that, DIP is greyed out in the Object Properties dialog, so
 there seems to be no way to change the DPI setting afterwards (using a
 script, for example)?
 
 I'm using FrameMaker 2017 with DITA-FMx 2.0.
 
 Thanks
 
 Yves
 _______________________________________________
 
 This message is from the Framers mailing list
 
 Send messages to framers@lists.frameusers.com
 Visit the list's homepage at http://www.frameusers.com
 Archives located at http://www.mail-archive.com/framers%40lists.frameusers.com/
 Subscribe and unsubscribe at 
http://lists.frameusers.com/listinfo.cgi/framers-frameusers.com
 Send administrative questions to listad...@frameusers.com
_______________________________________________

This message is from the Framers mailing list

Send messages to framers@lists.frameusers.com
Visit the list's homepage at  http://www.frameusers.com
Archives located at http://www.mail-archive.com/framers%40lists.frameusers.com/
Subscribe and unsubscribe at 
http://lists.frameusers.com/listinfo.cgi/framers-frameusers.com
Send administrative questions to listad...@frameusers.com

Reply via email to