Does anyone have XSLT or way to list all lowres images in simple way on report?
Something like image resolution-Page number.
Existing reports are either too complex (too many things on report) or too simple (do not give you breakdown of each image resolution).
Simple list of lowres images?
Re: Simple list of lowres images?
The PitStop Server 2018 configurator includes an xslt that does almost exactly what you want. Select XML report type, v3, and set the XSLT transformation to Images. The result looks something like this:
If you want you can use the built-in xslt as a basis to tweak it even more to your liking.
Code: Select all
<?xml version="1.0"?>
<Images name="_00EL2_Image.pdf">
<Image>
<ColorSpace>DeviceGray</ColorSpace>
<PhysicalResolution unit="pixels" horizontal="16" vertical="16"/>
<EffectiveResolution unit="ppi" horizontal="10.8" vertical="10.08"/>
<Location page="1" minX="33.3333" minY="27.9762" maxX="42.2222" maxY="37.5"/>
</Image>
<Image>
<ColorSpace>DeviceRGB</ColorSpace>
<PhysicalResolution unit="pixels" horizontal="4" vertical="4"/>
<EffectiveResolution unit="ppi" horizontal="2.7" vertical="2.52"/>
<Location page="2" minX="33.3333" minY="27.9762" maxX="42.2223" maxY="37.5"/>
</Image>
</Images>
Re: Simple list of lowres images?
This is promising, did not realize it had it's own xslt, when I played with it, it was not obvious, only when I selected inline, it gave me choice.
Now have to figure out how to make it list only images with warning.
Thanks Ben
Now have to figure out how to make it list only images with warning.
Thanks Ben
Re: Simple list of lowres images?
By using this method, I get nice, Images only xml, still includes all of them but I will deal with that later (want to get only warning ones).
I am running into trouble with XSLT where Switch does not like that there is no old fashion closing tag.
What I mean is if I use my XML as is, Switch XSLT does not work.
If I change XML and include closing brackets, it works.
Am I doing something wrong or is there way to force Switch to put closing brackets?
This is my XML:
I am running into trouble with XSLT where Switch does not like that there is no old fashion closing tag.
What I mean is if I use my XML as is, Switch XSLT does not work.
Code: Select all
<EffectiveResolution unit="ppi" horizontal="307.2" vertical="307.2"/>
Code: Select all
<EffectiveResolution>unit="ppi" horizontal="307.2" vertical="307.2"</EffectiveResolution>
This is my XML:
Code: Select all
<?xml version="1.0"?>
<Images name="_000U8_Create bootable usb Mac High Sierra.pdf">
<Image>
<ColorSpace iccName="sRGB IEC61966-2.1" iccSpace="DeviceRGB">ICCBased</ColorSpace>
<PhysicalResolution unit="pixels" horizontal="1824" vertical="1468"/>
<EffectiveResolution unit="ppi" horizontal="307.2" vertical="307.2"/>
<Location page="2" minX="92.25" minY="-18.862" maxX="519.75" maxY="325.2"/>
<Location page="3" minX="92.25" minY="677.138" maxX="519.75" maxY="1021.2"/>
</Image>
<Image>
<ColorSpace iccName="sRGB IEC61966-2.1" iccSpace="DeviceRGB">ICCBased</ColorSpace>
<PhysicalResolution unit="pixels" horizontal="1888" vertical="1130"/>
<EffectiveResolution unit="ppi" horizontal="317.979" vertical="317.983"/>
<Location page="3" minX="92.25" minY="19.875" maxX="519.75" maxY="275.737"/>
<Location page="4" minX="92.25" minY="715.875" maxX="519.75" maxY="971.737"/>
</Image>
<Image>
<ColorSpace iccName="sRGB IEC61966-2.1" iccSpace="DeviceRGB">ICCBased</ColorSpace>
<PhysicalResolution unit="pixels" horizontal="1714" vertical="928"/>
<EffectiveResolution unit="ppi" horizontal="288.674" vertical="288.684"/>
<Location page="5" minX="92.25" minY="397.05" maxX="519.75" maxY="628.5"/>
</Image>
<Image>
<ColorSpace iccName="sRGB IEC61966-2.1" iccSpace="DeviceRGB">ICCBased</ColorSpace>
<PhysicalResolution unit="pixels" horizontal="1200" vertical="712"/>
<EffectiveResolution unit="ppi" horizontal="202.105" vertical="202.105"/>
<Location page="6" minX="92.25" minY="286.35" maxX="519.75" maxY="540"/>
</Image>
</Images>