Open Photo, Read RGB of pixel at x,y

What you need to do needs to be done on the CPU side, not the GPU side.

That’s beyond me, sadly.

I haven’t found anyone who has used that API to develop a library (eg with Imagemagik ) or being able to open an existing image, by searching the forum.

@saless

Thanks for the detailed explanation. Rob has replied, but let me say that the feature we are talking about: colorSample() is not what you are looking for. 

Additionally, as frustrating as it may be for you, I’m sorry but Corona does not integrate image processing APIs of the variety you are seeking.  However, you can implement what you need via Corona Native.  

I suspect the applications you’ve seen were all native and integrated specialized libraries.  So, you’re not likely to find a game/app engine/SDK out there that will do what you want.  i.e. You’ll need to native code.

The good thing is, if you can get past the initial bump of learning to write apps using Corona Native, you’ll be in the best of both worlds:

  • Have Corona’s awesome dev features available to you, AND
  • Have any native feature you need via your own integration efforts.

In closing, if you can’t do this on your own, you should consider posting a job listing here and pay someone to help you code the app.

Cheers,

Ed (errr… I mean The Roaming Gamer)

Hi.

My impack plugin (and Bytemap which complements it) was built around my own image-editing needs (in particular texture synthesis).

I’ve been doing some much-needed but still-sporadic maintenance on it recently, but it might be interesting to you.