Re: Vector images on Cocoa
Re: Vector images on Cocoa
- Subject: Re: Vector images on Cocoa
- From: Gideon King <email@hidden>
- Date: Wed, 18 Nov 2009 15:47:31 +1000
WebKit has experimental SVG support (http://webkit.org/projects/svg/index.html), but I haven't tried it.
I have been successfully using PDF vector images, which are pretty much the recommended standard format.
We have also used EPS images, but found that occasionally people have crasher bugs with them, and we have not found any workaround. It happens for something like 1 person per 5,000 of our users, so it's pretty rare, but we have never been able to solve the issue, except by disabling the loading of EPS images for those people.
HTH.
Gideon
> I would need some way of loading vectorized images from files and drawing them to my custom NSView derived class, scaled up or down according to the frame of the control. I was thinking of using SVG files but there seems not to be any easy way of handling them in Cocoa and I feel that implementing my own SVG parser would be of too much work. What would you recommend? EPS?
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden