Pixel Manipulation In Corona

Hey all,

Is there a way to manipulate the pixels of an image directly using Corona !?! I would like to detect corners in a photograph taken with the camera for which I have an algorithm which requires pixel level access.

Thanks in advance,

R
[import]uid: 115997 topic_id: 20559 reply_id: 320559[/import]

not at this time [import]uid: 7911 topic_id: 20559 reply_id: 80698[/import]

So the image read in is not an array that I could access in some way [import]uid: 115997 topic_id: 20559 reply_id: 80701[/import]

We need a REPORT SPAM button… [import]uid: 10389 topic_id: 20559 reply_id: 85384[/import]

not yet :slight_smile:

c
[import]uid: 24 topic_id: 20559 reply_id: 85402[/import]

Does your response hint that this is a feature we may see soon?
I also would like to see pixel level image manipulation…
[import]uid: 130031 topic_id: 20559 reply_id: 90355[/import]

Pixel manipulation is a big one that Corona should have. I hope it’s a top priority. [import]uid: 7116 topic_id: 20559 reply_id: 90359[/import]

+1 this is important [import]uid: 22829 topic_id: 20559 reply_id: 90368[/import]

+1 [import]uid: 106887 topic_id: 20559 reply_id: 90383[/import]

My next project depends on direct pixel manipulation. I would definitely purchase a Corona licence if it had that feature. I am considering going native instead. Do you guys have an estimate as to when such a feature will be present in your product as you imply you actually will implement it?

Thanks! [import]uid: 46086 topic_id: 20559 reply_id: 92498[/import]

There are a number of posts on this topic, but while this one is active,

+20

I’d pay for a library that added this function (like some people do with particle candy)
but I really need to be able to simply get R,G,B of a pixel from an image that has been opened from the photo library or camera.

If theres other stuff at a later time that allowed for manipulating the image too, even better, but thats all I personally need yesterday. [import]uid: 108660 topic_id: 20559 reply_id: 92521[/import]

+10

come on Corona, there are many lua image manipulation libraries out there

[import]uid: 6459 topic_id: 20559 reply_id: 92899[/import]

@tetu - “come on Corona, there are many lua image manipulation libraries out there”

So why don’t you use them? :wink: LUA can’t do this without access to low level API. Over last few months we have HUGE extension of Corona API. New sound, game networks, ads, graphics and sprite engine. Soon (I hope) we will get newer version on physics engine and level editor. Shaders and pixel manipulation is fine but I can wait.

In the meantime work on 2 new games which I delay until now due poor GPU performance on big levels. Now (build 765) it’s crazy fast (but new sprite engine still need improvement)!

[import]uid: 12704 topic_id: 20559 reply_id: 92914[/import]

>>So why don’t you use them? :wink: <<

I can’t speak for everyone, but it’s my impression that unless a library is pure LUA code, we can’t incorporate it into a Corona app.
Ansca can beef up their libraries by wrapping other code, but as users we can’t take an external library and just start using it.

Unless someone knows better: if so, shout!
I have money available for a solution.

[import]uid: 108660 topic_id: 20559 reply_id: 92981[/import]

I’ve been waiting for this feature more than a year… [import]uid: 11702 topic_id: 20559 reply_id: 138213[/import]

Well, sorry to say this, but genuinely, goodbye Corona.

Ive struggled with the tool since I bought it.
The debugging is terrible, the stability is questionable, but this one single lack of feature is finally the straw that has broken the camel’s back.
All I needed was getPixel(x,y) returning R,G,B values.
Because of this tiny tiny tiny thing, which is a basic attribute of every language I have coded in for the last 20 years, I have had to suffer endless complaints from my customers.
I have had to reduce the App Store price of my product by 75%
And frankly, Ive had enough.

My Corona licence has now expired and I doubt that I’ll be back.
When the app stops working due to some future change by Apple, thats it.

Im very disappointed. This could have been a real opportunity, but its been a bitter experience.

[import]uid: 108660 topic_id: 20559 reply_id: 138565[/import]

I have a good app idea but I need image processing like filters, edge detection etc.
So as jeff472 wrote: all I need is getPixel(x,y).

[import]uid: 193524 topic_id: 20559 reply_id: 138580[/import]

Sorry to see you go. But if your app has the potential of making some real money why not just go enterprise and add the feature yourself [import]uid: 7911 topic_id: 20559 reply_id: 138582[/import]

All I can say is that anybody leaving Corona at this point in time is their loss.
Many things are “bubbling under the surface” at the moment, and when Project Gluon is made available you’ll see a whole new world of Corona and 3rd party plugins.

…and I have a feeling that image handling will be one of them :slight_smile:
[import]uid: 70847 topic_id: 20559 reply_id: 138587[/import]

>>why not just go enterprise and add the feature yourself<<

I have no idea how that could be done. (I have asked in other posts… several people feel it ‘should be possible’. As far as I can tell no-one has achieved it: and I have offered money for a solution.)

I checked out the limited information about enterprise 6 months ago, couldn’t begin to work out how to do it myself. (Couldn’t work out how much extra Enterprise was going to cost me to add one new function, either, as it happens. )

>>when Project Gluon is made available you’ll see a whole new world of Corona and 3rd party plugins.
…and I have a feeling that image handling will be one of them :slight_smile:
<<

Possible ‘jam tomorrow’, eh?
Carlos hinted it was ‘coming’ last February.

I’ll pop back every 6 months or to see if you were right.
As it stands, I’m resigned to admit that I should have checked every essential function before I spent months in development.
[import]uid: 108660 topic_id: 20559 reply_id: 138613[/import]