Antonio:
Hope you're ok. Can we use vector based icons & backgrounds in our FW apps ? If so, how can we load them from a DLL ? Thank you very much !
To Antonio: vector based icons & images.
- nageswaragunupudi
- Posts: 10721
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Been thanked: 8 times
- Contact:
Re: To Antonio: vector based icons & images.
Please let us know which vector based image formats do you want to use?
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India
- Antonio Linares
- Site Admin
- Posts: 42521
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 31 times
- Been thanked: 75 times
- Contact:
Re: To Antonio: vector based icons & images.
http://stackoverflow.com/questions/427920/how-to-programmatically-manipulate-an-eps-file
I think your best bet is to generate a PDF from the EPS and then manipulate the PDF. Then back to EPS. PDF is much more "manipulable" than is EPS.
Re: To Antonio: vector based icons & images.
Antonio:
Thank you for the link. My plan was to use a EPS based background for my FW app; this way, if the user resizes the main window, the background will grow or shrink with no loss. Is there a way to achieve this ? I don't think the epstool will do the job.
Thank you for the link. My plan was to use a EPS based background for my FW app; this way, if the user resizes the main window, the background will grow or shrink with no loss. Is there a way to achieve this ? I don't think the epstool will do the job.
- Antonio Linares
- Site Admin
- Posts: 42521
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 31 times
- Been thanked: 75 times
- Contact:
Re: To Antonio: vector based icons & images.
Gustavo,
If you could find an ActiveX that displays EPS files, that could be a solution
If you could find an ActiveX that displays EPS files, that could be a solution
Re: To Antonio: vector based icons & images.
Antonio:
Can you post an example on how to implement this as a background ? Will FW support them in a future version ? Thank you.
Can you post an example on how to implement this as a background ? Will FW support them in a future version ? Thank you.
- Antonio Linares
- Site Admin
- Posts: 42521
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 31 times
- Been thanked: 75 times
- Contact:
Re: To Antonio: vector based icons & images.
Gustavo,
First of all we need to know if such ActiveX control to display EPS exists
Antonio Linares wrote:Gustavo,
If you could find an ActiveX that displays EPS files, that could be a solution
First of all we need to know if such ActiveX control to display EPS exists
- nageswaragunupudi
- Posts: 10721
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Been thanked: 8 times
- Contact:
Re: To Antonio: vector based icons & images.
FWH does not support EPS format (it is a composite format of vector + raster), even with the help of FreeImage.dll. I do not expect it in the immediate future.
FWH supports only 2 vector formats, EMF and WMF.
FWH supports realizable brushes of images.
Syntax:
DEFINE BRUSH oBrush FILE <imagefile> RESIZE
DEFINE WINDOW oWnd [MDI] BRUSH oBrush
The image will automatically re-sized when the window is re-sized.
However brushes support only raster images.
If we select a good quality image (jpg or other) of sufficiently large size (eg. 1000 x 700 ) and use re-sizable brush we can have very high quality background for window of any size upto 1980x1020. I am using it and can assure you will not be disappointed.
FWH supports only 2 vector formats, EMF and WMF.
FWH supports realizable brushes of images.
Syntax:
DEFINE BRUSH oBrush FILE <imagefile> RESIZE
DEFINE WINDOW oWnd [MDI] BRUSH oBrush
The image will automatically re-sized when the window is re-sized.
However brushes support only raster images.
If we select a good quality image (jpg or other) of sufficiently large size (eg. 1000 x 700 ) and use re-sizable brush we can have very high quality background for window of any size upto 1980x1020. I am using it and can assure you will not be disappointed.
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India