Connecting QQuickImageProvider
-
But why not do the processing directly in the image provider ?
-
Why not grab the image in the image provider ?
-
Unless I'm mistaken all what your processaImagem does is get the image from the image provider, apply some modification and set it again on the image provider, right ?
-
Are you using the Camera QML type to grab the image from the camera ?
-
In that case, why not use a ShaderEffect to "cut" your image square ?
-
@SGaist
Because I didnt know that ShaderEffect can "cut" an image. I read the documentation and I could not find how to do it with ShaderEffect.Now I am interested about how to perform the image modifications directly in the provider. How can I pass the image without other class to do it?
Another thing, the modifications performed in the image include rotate the image in case of wrong image orientation.