Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently October 13th, 2024, 3:23 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: how can i resize the image
PostPosted: June 5th, 2006, 12:32 pm 
Offline

Joined: June 5th, 2006, 12:01 pm
Posts: 9
Hi all,

i want to resize the image when its dropped. i do not have much space, i want all of the images in small sizes for selection, when user had select any of them and want to drop it the image should be resized.

can u please guide me.

i tried to do that my talking a variable and then assign it again to image but its a long procedure.


For this message Shivam has been thanked by : mackavi


Top
 Profile  
 
 Post subject:
PostPosted: June 5th, 2006, 2:56 pm 
Offline

Joined: November 3rd, 2004, 2:11 pm
Posts: 323
On the dropzone, create an Object Dropped action.
For that action, launch a script object. In the script object put the following:
Code:
I1.Scale(1.4,1.4,0.01)

where I1 is your image name. The 3 items are horizontal, vertical, time.

Then just figure out how you need to resize your images to fit your dropzone, revise the Scale command accordingly.

Make sure you small images are draggable.

Hope this helps, or gets you started in the right direction.

_________________
Opus Pro XE 9.1 Win7 64-bit Core i3 8MB RAM


For this message bwpatric has been thanked by : mackavi


Top
 Profile Visit website  
 
 Post subject:
PostPosted: June 5th, 2006, 3:06 pm 
Offline

Joined: June 5th, 2006, 12:01 pm
Posts: 9
Thanks Dear

it works


For this message Shivam has been thanked by : mackavi


Top
 Profile  
 
 Post subject:
PostPosted: June 5th, 2006, 3:07 pm 
Offline
Godlike
Godlike

Joined: November 11th, 2004, 1:18 pm
Posts: 1213
Location: New York
Opus: Opus Pro 9.75
OS: Windows 10 Pro 64 bit
System: Core i7, 16G RAM, Nvidia 640GT (desktop), plus Windows 10 and Android tablets
Hi Shivam

Here's a sample publication using standard Opus actions that may give you additional ways to achieve the effect.

Kind Regards,


You do not have the required permissions to view the files attached to this post.

_________________
Stephen


For this message Stephen has been thanked by : mackavi


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

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 6 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:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group