Back
Login
Register
Login
Register
Millisecond Forums
Home
»
Millisecond Forums
»
Inquisit 5
»
Presenting vector images
Presenting vector images
Post Reply
Like
19
Presenting vector images
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
yshin
yshin
posted 5 Years Ago
ANSWER
Topic Details
Share Topic
Group: Forum Members
Posts: 2,
Visits: 55
Hello,
I was wondering if vector images (e.g., eps, pdf) can be presented as stimuli. I tried using "picture", but that did not work. Is there any recommended way of dealing with this?
Thank you!
Reply
Like
19
Dave
Dave
posted 5 Years Ago
ANSWER
Post Details
Share Post
Group: Administrators
Posts: 13K,
Visits: 104K
+
x
yshin - 9/17/2019
Hello,
I was wondering if vector images (e.g., eps, pdf) can be presented as stimuli. I tried using "picture", but that did not work. Is there any recommended way of dealing with this?
Thank you!
Generally no, vector formats are not supported by the <picture> element. What you can possibly do is use the <html> element to present e.g. SVG images embedded on HTML pages.
Reply
Like
19
Dave
Dave
posted 5 Years Ago
ANSWER
Post Details
Share Post
Group: Administrators
Posts: 13K,
Visits: 104K
+
x
Dave - 9/17/2019
+
x
yshin - 9/17/2019
Hello,
I was wondering if vector images (e.g., eps, pdf) can be presented as stimuli. I tried using "picture", but that did not work. Is there any recommended way of dealing with this?
Thank you!
Generally no, vector formats are not supported by the <picture> element. What you can possibly do is use the <html> element to present e.g. SVG images embedded on HTML pages.
Just tried this with a simple example, and the IE engine at least (which is what Inquisit relies on under Windows to render HTML) doesn't seem to handle this well. So I suppose it's not really an option either, sorry.
Reply
Like
22
Dave
Dave
posted 5 Years Ago
ANSWER
Post Details
Share Post
Group: Administrators
Posts: 13K,
Visits: 104K
+
x
Dave - 9/17/2019
+
x
Dave - 9/17/2019
+
x
yshin - 9/17/2019
Hello,
I was wondering if vector images (e.g., eps, pdf) can be presented as stimuli. I tried using "picture", but that did not work. Is there any recommended way of dealing with this?
Thank you!
Generally no, vector formats are not supported by the <picture> element. What you can possibly do is use the <html> element to present e.g. SVG images embedded on HTML pages.
Just tried this with a simple example, and the IE engine at least (which is what Inquisit relies on under Windows to render HTML) doesn't seem to handle this well. So I suppose it's not really an option either, sorry.
What actually might work, though, is this:
<html svg>
/ items = svgitems
</html>
<item svgitems>
/ 1 = "01.svg"
/ 2 = "02.svg"
</item>
<trial mytrial>
/ stimulusframes = [1=svg]
/ validresponse = (57)
</trial>
<block myblock>
/ trials = [1-2 = mytrial]
</block>
Attachments
svg_example.zip
(
241 views,
32.00 KB
)
Reply
Like
18
yshin
yshin
posted 5 Years Ago
ANSWER
Post Details
Share Post
Group: Forum Members
Posts: 2,
Visits: 55
+
x
Dave - 9/17/2019
+
x
Dave - 9/17/2019
+
x
Dave - 9/17/2019
+
x
yshin - 9/17/2019
Hello,
I was wondering if vector images (e.g., eps, pdf) can be presented as stimuli. I tried using "picture", but that did not work. Is there any recommended way of dealing with this?
Thank you!
Generally no, vector formats are not supported by the <picture> element. What you can possibly do is use the <html> element to present e.g. SVG images embedded on HTML pages.
Just tried this with a simple example, and the IE engine at least (which is what Inquisit relies on under Windows to render HTML) doesn't seem to handle this well. So I suppose it's not really an option either, sorry.
What actually might work, though, is this:
<html svg>
/ items = svgitems
</html>
<item svgitems>
/ 1 = "01.svg"
/ 2 = "02.svg"
</item>
<trial mytrial>
/ stimulusframes = [1=svg]
/ validresponse = (57)
</trial>
<block myblock>
/ trials = [1-2 = mytrial]
</block>
This worked. Thank you!
Reply
Like
20
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Post Reply
Like
19
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Facebook
Explore
Messages
Mentions
Search