Changing orientation of photos in Approach/Avoidance script


Changing orientation of photos in Approach/Avoidance script

Author
Message
inquisituser22
inquisituser22
Partner Member
Partner Member (522 reputation)Partner Member (522 reputation)Partner Member (522 reputation)Partner Member (522 reputation)Partner Member (522 reputation)Partner Member (522 reputation)Partner Member (522 reputation)Partner Member (522 reputation)Partner Member (522 reputation)

Group: Forum Members
Posts: 24, Visits: 121

Hello,

I am writing about an issue I am stuck on pertaining to the orientation of images in the AAT script. I have not changed any of the default settings with regard to resizing images according to a certain ratio, etc. These are the images I have listed below, sorted into 8 categories, and they correspond with the same trial number below it. The target formats written in the script all match what we would like to have. However, when running the script, the photos that we have taken ourselves in portrait mode get rotated and are shown as landscape photos. Interestingly, the photos we have gotten from the International Affective Picture System (IAPS) in portrait mode stay in portrait mode, without rotating. I can’t figure out what to change in the script to have it keep images in their original orientation.

Thank you for any help!

maincategory 1 (threat, untrained) landscape (1): indices 1-8

maincategory 2 (threat, untrained) portrait (2): indices 9-16

maincategory 3 (neutral, untrained) landscape (3): indices 17-24

maincategory 4 (neutral, untrained) portrait (4): indices 25-32

maincategory 5 (threat, trained) landscape (5): indices 33-44

maincategory 6 (threat, trained) portrait (6): indices 45-56

maincategory 7 (neutral, trained) landscape (7): indices 57-68

main category8 (neutral, trained) portrait (8): indices 69-80

 

/targetformat:                                                                  thetargetformat of the targetstimulus (l = landscape; p = portrait)

 

<trialAAT_1>

                values.targetcategory = 1;

                values.targetformat ="l";

 

<trialAAT_2>

                values.targetcategory = 2;

                values.targetformat ="p";

               

<trialAAT_3>

                values.targetcategory = 3;

                values.targetformat ="l";

 

<trialAAT_4>

                values.targetcategory = 4;

                values.targetformat ="p";

 

<trialAAT_5>

                values.targetcategory = 5;

                values.targetformat ="l";

 

<trialAAT_6>

                values.targetcategory = 6;

                values.targetformat ="p";

 

<trialAAT_7>

                values.targetcategory = 7;

                values.targetformat ="l";

 

<trialAAT_8>

                values.targetcategory = 8;

                values.targetformat ="p";


Dave
Dave
Supreme Being
Supreme Being (665K reputation)Supreme Being (665K reputation)Supreme Being (665K reputation)Supreme Being (665K reputation)Supreme Being (665K reputation)Supreme Being (665K reputation)Supreme Being (665K reputation)Supreme Being (665K reputation)Supreme Being (665K reputation)

Group: Administrators
Posts: 9.7K, Visits: 45K
inquisituser22 - 8/12/2019

Hello,

I am writing about an issue I am stuck on pertaining to the orientation of images in the AAT script. I have not changed any of the default settings with regard to resizing images according to a certain ratio, etc. These are the images I have listed below, sorted into 8 categories, and they correspond with the same trial number below it. The target formats written in the script all match what we would like to have. However, when running the script, the photos that we have taken ourselves in portrait mode get rotated and are shown as landscape photos. Interestingly, the photos we have gotten from the International Affective Picture System (IAPS) in portrait mode stay in portrait mode, without rotating. I can’t figure out what to change in the script to have it keep images in their original orientation.

Thank you for any help!

maincategory 1 (threat, untrained) landscape (1): indices 1-8

maincategory 2 (threat, untrained) portrait (2): indices 9-16

maincategory 3 (neutral, untrained) landscape (3): indices 17-24

maincategory 4 (neutral, untrained) portrait (4): indices 25-32

maincategory 5 (threat, trained) landscape (5): indices 33-44

maincategory 6 (threat, trained) portrait (6): indices 45-56

maincategory 7 (neutral, trained) landscape (7): indices 57-68

main category8 (neutral, trained) portrait (8): indices 69-80

 

/targetformat:                                                                  thetargetformat of the targetstimulus (l = landscape; p = portrait)

 

<trialAAT_1>

                values.targetcategory = 1;

                values.targetformat ="l";

 

<trialAAT_2>

                values.targetcategory = 2;

                values.targetformat ="p";

               

<trialAAT_3>

                values.targetcategory = 3;

                values.targetformat ="l";

 

<trialAAT_4>

                values.targetcategory = 4;

                values.targetformat ="p";

 

<trialAAT_5>

                values.targetcategory = 5;

                values.targetformat ="l";

 

<trialAAT_6>

                values.targetcategory = 6;

                values.targetformat ="p";

 

<trialAAT_7>

                values.targetcategory = 7;

                values.targetformat ="l";

 

<trialAAT_8>

                values.targetcategory = 8;

                values.targetformat ="p";


Inquisit has no capability to rotate images, so there must be something wrong with your source images themselves. Make sure they are oriented properly using the image editor of your choice.

GO


Reading This Topic


Login
Existing Account
Email Address:


Password:


Social Logins

Select a Forum....






Millisecond Forums


Search