- Jun 6, 2020
- 11,559
- 4,422
This is my third "Image to JPEG byte array with resize/quality options" snippet. The various versions are:
- Inline Java version, B4J only:
برای دیدن لینک ها باید ثبت نام کنید
- XUI version, working across B4A, B4i, and B4J:
برای دیدن لینک ها باید ثبت نام کنید
- A new OpenCV version that is heavily based on the first version (published here). The initial resize is unchanged, but the code to convert the resulting BufferedImage to a JPG image and then convert it to a byte array is now using OpenCV classes/methods.
- For Windows, the prerequisites are the opencv*.jar and the opencv*.dll files. The .jar file needs to be placed in the Additional Library folder of B4J. The opencv*.dll file needs to be located somewhere accessible to the application...
برای دیدن لینک ها باید ثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید