FROM : Cathy Shive
DATE : Sun Mar 23 14:54:25 2008
Seriously?
You aren't going to be able to distort your bitmap like this with
NSImage and there is no ready-made CIFilter to do this distortion
that I'm aware of. If I'm wrong about that, then that's the way to
go. But, I think you've gotta do your own pixel pushing for this one.
Explore the CoreImage API . If there isn't a filter that you can use
already, you'll want to learn how to create your own.
http://developer.apple.com/documentation/GraphicsImaging/Conceptual/
CoreImaging/ci_intro/chapter_1_section_1.html
I have the feeling, however that you're going to need to provide the
math. You should figure that out first.
Might not be a bad idea to research your topic a little more. If
after you do that, you still have questions to ask, try the Quartz
list. There will be more graphics people there.
Best of luck!
Cathy
On Mar 23, 2008, at 2:14 PM, Luca wrote:
> Hello. Do you know how can I transform a rectangular image in a
> trapezium?
>
> Thanks,
> Luca.
> _______________________________________________
>
> Cocoa-dev mailing list (<email_removed>)
>
> 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:
> http://lists.apple.com/mailman/options/cocoa-dev/<email_removed>
>
> This email sent to <email_removed>
DATE : Sun Mar 23 14:54:25 2008
Seriously?
You aren't going to be able to distort your bitmap like this with
NSImage and there is no ready-made CIFilter to do this distortion
that I'm aware of. If I'm wrong about that, then that's the way to
go. But, I think you've gotta do your own pixel pushing for this one.
Explore the CoreImage API . If there isn't a filter that you can use
already, you'll want to learn how to create your own.
http://developer.apple.com/documentation/GraphicsImaging/Conceptual/
CoreImaging/ci_intro/chapter_1_section_1.html
I have the feeling, however that you're going to need to provide the
math. You should figure that out first.
Might not be a bad idea to research your topic a little more. If
after you do that, you still have questions to ask, try the Quartz
list. There will be more graphics people there.
Best of luck!
Cathy
On Mar 23, 2008, at 2:14 PM, Luca wrote:
> Hello. Do you know how can I transform a rectangular image in a
> trapezium?
>
> Thanks,
> Luca.
> _______________________________________________
>
> Cocoa-dev mailing list (<email_removed>)
>
> 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:
> http://lists.apple.com/mailman/options/cocoa-dev/<email_removed>
>
> This email sent to <email_removed>
| Related mails | Author | Date |
|---|---|---|
| Luca | Mar 23, 14:14 | |
| Cathy Shive | Mar 23, 14:54 | |
| glenn andreas | Mar 23, 15:10 | |
| Luca | Mar 23, 15:38 | |
| Cathy Shive | Mar 23, 15:38 | |
| John Stiles | Mar 24, 03:39 |






Cocoa mail archive

