Crop filter does not respect -forceProcessingAtSize:
Hello Guys,
When i use crop filter to achieve zoom +/-, it reduces the output image size. am i doing something wrong here?
thanks
That's what a crop does: it crops an image to a new, smaller size. If you want, you can override the output size using -forceProcessingAtSize to crop the image, yet have it report the original size.
so after applying crop filter i can get highres 3264X2448 sized zoom images?
Yes, simply force the crop to be processed at that size. It should work. If it doesn't, let me know and I'll fix the filter.
i tried forcing it, its not working. i have filter group,(2filters, camera ->crop filter->saturation filter)
crop filter is set as "setInitialFilters". , i am still getting the cropped output as final image. not forced size.
thanks
Ah, yes, it appears crop filters don't respect the forcing of something to a size. I'll need to fix that. In the meantime, you can use -forceProcessingAtSize: on the next filter in the chain and it will be resized at that stage.
That's what I'm doing - using another filter to force the processing at a particular size. It's an extra step but it's a functional work-around.
Is the fix for this coming soon? I would love to jump in and fix this myself, but I'm a total noob re OpenGL! :(