Never used the framework but my first thought would be to create a CGImageRef which can take directly formatted data (I'm assuming that vImages are just a byte buffer) and then make a UIImage from there.
What did you do to get a vImage from your UIImage in the first place? On May 12, 2012, at 8:26 PM, Luca Ciciriello wrote: > Now my problem is: > How can I rebuild an UIImage from the output of the vImageConvolve_ARGB8888 > elaboration? > I can't find any code sample on this. > > L. > On May 12, 2012, at 11:16 AM, Luca Ciciriello wrote: > >> Yes You are right. It was a my stupid syntax error. >> >> L. >> >> On May 12, 2012, at 10:34 AM, Ken Thomases wrote: >> >>> On May 12, 2012, at 3:25 AM, Luca Ciciriello wrote: >>> >>>> Using the accelerate framework in iOS 5.1 I've imported the header >>>> Accelerate/Accelerate.h and in my code I'm using the line: >>>> >>>> uint_8 kernel = {-2, -2, 0, -2, 6, 0, 0, 0, 0}; >>>> >>>> My problem is that I've got the error: >>>> >>>> "Use of undeclared identifier uint_8". >>>> >>>> Which is the header I've to use for uint_8? >>> >>> Do you perhaps mean uint8_t? Certainly, the Accelerate framework won't >>> require you to use any type which it hasn't included the definition for. >>> >>> Regards, >>> Ken >>> >>> >> >> >> _______________________________________________ >> >> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) >> >> 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: >> https://lists.apple.com/mailman/options/cocoa-dev/luca_ciciriello%40hotmail.com >> >> This email sent to luca_cicirie...@hotmail.com >> > > _______________________________________________ > > Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) > > 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: > https://lists.apple.com/mailman/options/cocoa-dev/rols%40rols.org > > This email sent to r...@rols.org _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com