Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Image height and width
Image height and width [message #463867] Sun, 18 February 2007 23:34 Go to next message
Eclipse UserFriend
Originally posted by: vibhoodh_srikar.yahoo.co.in

Hi All,

I have a png file (which is of some folder icon).. I set this image
file in Table Viewer.....

Is there anyway to change the size of the existing image dynamically....
Suppose if user specifies the icon size as 32 ... while placing the image
in table itself I have to increase its size to 32 and to be placed.....

Thanks in advance,
Srikar Vibhoodh....
Re: Image height and width [message #463870 is a reply to message #463867] Mon, 19 February 2007 01:43 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: vibhoodh_srikar.yahoo.co.in

Hi,

I got it working by using imageData and scaledTo method on image... I
can able to increase the size of image but clarity goes down...

Is there a way to keep the original clarity and increase the size.....

Thanks in advance,
Srikar Vibhoodh....
Re: Image height and width [message #463871 is a reply to message #463870] Mon, 19 February 2007 03:07 Go to previous messageGo to next message
Eclipse UserFriend
Srikar schrieb:
> I got it working by using imageData and scaledTo method on image...
> I can able to increase the size of image but clarity goes down...
> Is there a way to keep the original clarity and increase the size.....

If you scale an bitmap image to a size larger than its original size there
is no way to prevent a blurred appearance. BTW in eclipse.platform.swt you
will likely get more and better responses. eclipse.platform.rcp is for
discussion of org.eclipse.ui related stuff like views, editors, workbench
etc.

--
Gruesse/Regards,

Peter Maas, Aachen
E-mail "cC5tYWFzQG1hZ21hc29mdC5kZQ==\n".decode("base64")
Re: Image height and width [message #463873 is a reply to message #463871] Mon, 19 February 2007 03:52 Go to previous message
Eclipse UserFriend
Originally posted by: vibhoodh_srikar.yahoo.co.in

Hi Peter,
Thank u so much.... I supposed to place this question in SWT forum..By
mistake I place here...

Thanks,
Srikar Vibhoodh
Previous Topic:ErrorDialog.openError() doesn't do anythiing in ActionDelegate class
Next Topic:MasterDetailsBlock and visible actions
Goto Forum:
  


Current Time: Mon Mar 17 05:06:57 EDT 2025

Powered by FUDForum. Page generated in 0.06700 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top