Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently December 22nd, 2024, 5:29 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: SetImage() and Bilinear Resample
PostPosted: May 13th, 2011, 6:34 pm 
Offline

Joined: May 25th, 2008, 4:57 pm
Posts: 355
Location: Ireland
Opus: Pro 9.75
OS: Windows 10
System: MacBook Pro (Intel 2020)
Hi,

I am using the SetImage() function to apply an image to a cloned object. I have noticed that it doesn't appear to use Bilinear Resampling to the image set, even though the object to be cloned has this enabled.

Any suggestions, am I doing something incorrect here?

Code:
for ( i = 1; i < s; i++)
{
myClone[i] = Image_ThumbMaster.CloneObject();
myClone[i].SetPosition(xPos+(i*146),yPos,0.1);
myClone[i].ImageNumber = i;
myClone[i].SetImage("Photo_" + i)
}



Thanks in advance.

_________________
Opus Pro 9.75 on MacBookPro (2020 Intel) running Parallels 19 with Windows 10 (x64)


Top
 Profile  
 
 Post subject: Re: SetImage() and Bilinear Resample
PostPosted: July 5th, 2011, 1:07 pm 
Offline

Joined: January 19th, 2005, 5:15 pm
Posts: 83
Location: Netherlands
What works for me is to use a variable as the image name:

<this.image> or in case of a image inside a frame: <this.GetParent().image>

Then do something like this:
Code:
for ( i = 1; i < s; i++)
{
    myClone[i] = Image_ThumbMaster.CloneObject();
    myClone[i].SetPosition(xPos+(i*146),yPos,0.1);
    myClone[i].ImageNumber = i;
    myClone[i].image = "Photo_" + i   
}


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 22 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group