Welcome to the Wikipedia Computing Reference Desk Archives
The page you are currently viewing is an archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages.
What library normally includes this? I already have qt4-mac +quartz +sqlite2 installed via MacPorts, and ld seems to have no trouble finding the rest of the Qt libraries. Horselover Frost (talk · edits) 00:44, 16 May 2012 (UTC)[reply]
What do I need to add to the script below to make the animation start or stop if you click on the document? The script animates .SVGs but I don't really understand how it works.
<script type="text/ecmascript"><![CDATA[
var svgNS = "http://www.w3.org/2000/svg";
function init(evt)
{
if ( window.svgDocument == null )
{
svgDocument = evt.target.ownerDocument;
}
addRotateTransform('cog1');
}
function addRotateTransform(target_id)
{
var element_to_rotate = svgDocument.getElementById(target_id);
var my_transform = svgDocument.createElementNS(svgNS, "animateTransform");
var bb = element_to_rotate.getBBox();
var cx = bb.x + bb.width/2;
var cy = bb.y + bb.height/2;
my_transform.setAttributeNS(null, "attributeName", "transform");
my_transform.setAttributeNS(null, "attributeType", "XML");
my_transform.setAttributeNS(null, "type", "rotate");
my_transform.setAttributeNS(null, "dur", "400s");
my_transform.setAttributeNS(null, "repeatCount", "indefinite");
my_transform.setAttributeNS(null, "from", "0 "+cx+" "+cy);
my_transform.setAttributeNS(null, "to", "360 "+cx+" "+cy);
element_to_rotate.appendChild(my_transform);
my_transform.beginElement();
}
]]></script>
I don't really understand it either — I don't see any timer function being called, which makes it a lot harder to intervene with. Is there a reason you're using that script and not another? The setTimeout or setInterval (Javascript) options on this page would be much more straightforward to modify in the way you desire. --Mr.98 (talk) 23:25, 16 May 2012 (UTC)[reply]
Presumably if you made a mouse click event and had it call the .pauseAnimations() method, it might work, but cross-browser compatibility doesn't seem too high (that page doesn't work for me, anyway). --Mr.98 (talk) 23:28, 16 May 2012 (UTC)[reply]
I need a simple, free Windows program to display information about a digital photo - the resolution and the camera exposure info (focal length, shutter speed, etc.)
You don't need to right click anything. Just set explorer to display whatever EXIF data you want for the relevant folders. (This obviously only works in list details mode.) I'm not sure you can display everything but I'm pretty sure you can display everything you specified. Nil Einne (talk) 05:06, 17 May 2012 (UTC)[reply]
See [2] for an example of what I'm referring to. (Some of the details at the beginning and end are obviously not EXIF, I just included them for completeness. Some of the titles are too long to be read, I shrunk each pane to the minimum possible so that maximum possible could be shown in the screen shot.) I noticed 'flash energy' can't be displayed for whatever reason despite the Explorer properties option considering it core 'camera' details and even though some 'advanced photo' details can be displayed. Other EXIF properties which Explorer considers 'advanced photo' which can't be displayed are 'flash maker', 'flash model', 'cameral serial number', 'contrast', 'brightness', 'sharpness', 'photometric interpretation' and 'digital zoom'. Nil Einne (talk) 06:07, 17 May 2012 (UTC)[reply]
Link checker which follows through. ie not one where I have to type in seperately the url of each page I am checking, but one which takes the home page and tunnels on, looking for errors. Kittybrewster ☎07:20, 16 May 2012 (UTC)[reply]
I accidentally recorded a video with my camera sideways is there any easy way to rotate the video so it I can play it normally--Wrk678 (talk) 23:03, 16 May 2012 (UTC)[reply]
Yes, but one issue that will come up is what to do about the dimensions of each frame. That is, if the aspect ratio is now 2:3 instead of 3:2, do you intend to stretch it, clip it, or leave it as is (making for a rather tall, thin video). This assumes your frames aren't square. StuRat (talk) 23:19, 16 May 2012 (UTC)[reply]
One free program that can do it is VirtualDub - assuming you can get the video to a computer in a format that VirtualDub understands. Very briefly: drop video into VirtualDub. Select a compression method in Video->Compression. Add a rotate filter in Video->filters->add->rotate. File->save as avi. Use google and how-to's on www.videohelp.com for help. It's not exactly trivial but it's not impossible either. Of course there are other video editing programs too. 88.114.124.228 (talk) 14:11, 17 May 2012 (UTC)[reply]