Hi Tino, Thank you very much for the information. I was hoping for a "fit" option that will proportionately scale the image to the anchored frame. At this point, I am using a script and they may be the best option.
Rick -----Original Message----- From: Framers [mailto:framers-bounces+rick=rickquatro....@lists.frameusers.com] On Behalf Of Heiko Haida Sent: Friday, May 12, 2017 3:20 PM To: An email list for people using Adobe FrameMaker software. Subject: Re: [Framers] Structured import: Sizing the image as well as the anchored frame Hi Rick, for example, in our standard XML, a graphic is represented like this: <Graphic file="xxx.eps" align="acenter" angle="0.000" cropped="0" float="0" height="0.770in" nsoffset="0.000in" position="below" width="4.528in" impang="0.000" impby="ref" impsize="4.500in 0.697in" sideways="0" xoffset="0.014in" yoffset="0.032in"/> As you can see, there are a lot more entries, "height" and "width" belong to the frame, the size of the graphic itself is defined in "impsize". In this case, FM was used as XML editor, so that there is no need to translate all these attributes. The r/w-rule only says: element "Graphic" { is fm graphic element; } You would have to add either "impsize" attributes or "dpi" values. I do not think this could be done by a r/w-rule. Best regards -- Tino H. Haida, Berlin Rick Quatro: > Hi All, > > I have a structured application that imports EPS images into the > document. I have a couple of read/write rules for sizing the anchored frame: > > attribute "width" is fm property width; attribute "height" is fm > property height; > > Here is the xml markup: > > <img file="C:\images\65150003.eps" width="522pt" height="610pt"/> > > When I import this into FrameMaker, I get the correct sizing on the > anchored frame. However, the EPS does not get scaled at all. Is there > a Read/Write rule or some other way to proportionately scale the EPS > to fit the anchored frame? > > I can do it with a script, but I don't want to miss a better way. Thanks. > > Rick > > Rick Quatro > Carmen Publishing Inc. > r...@frameexpert.com > 585-366-4017 > > _______________________________________________ > > 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 _______________________________________________ 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