Skip to main content
0 votes
0 answers
32 views

Android - compressing photo returns all black bitmap on some devices

In my app I need to take a photo -> compress -> upload to BE. Problem: photos from some exotic devices are all black after compression To take a photo, I'm using a ActivityResultContracts....
Sparrow318's user avatar
-6 votes
2 answers
148 views

Why is flipping a PNG changing the quality of the image?

I have the following code: System.Drawing.Image img1 = System.Drawing.Image.FromFile(imgPath); System.Drawing.Image img2 = System.Drawing.Image.FromFile(imgPath); img2.RotateFlip(RotateFlipType....
user107586's user avatar
0 votes
1 answer
105 views

FlutterImageCompress: AssertionError - "The jpeg format name must end with jpg or jpeg"

I'm encountering an issue with the flutter_image_compress package when trying to compress images captured using the DeepAR package in my Flutter app. The process works fine on Android, but on iOS, I ...
majid's user avatar
  • 33
0 votes
1 answer
82 views

OpenCV: Saving image files - Difference between cv.imwrite and f.write()?

I'm importing images from a security camera for image processing. After importing the image, I want to save the image for archiving (processing will happen on the fly). I see two available methods for ...
Oaknut's user avatar
  • 13
2 votes
1 answer
177 views

Losing image resolution when converting PDF to image and back with PDFBox

I had a Java program written for me that would take a single page 36" high x 48" wide PDF file and would "slice" it into 3 single pages, 12x36, 24x36 and 12x36 of which I would ...
David Owens's user avatar
2 votes
1 answer
183 views

What's the best compression algorithm for sets of images that share conceptual similarities?

I want to compress several hundred images together into a single file. The images are all scans of Magic: The Gathering cards, which means they have large blocks of similar color and share many ...
Isaac King's user avatar
0 votes
1 answer
199 views

Why ASTC texture format is not available in runtime?

The problem is that I cant create a Texture2D with RGBA_ASTC6X6_UNorm graphics format. As I understand, ASTC is a special kind of compression, that could be used by GPU. In my application I can ...
Nikolai's user avatar
  • 1,201
0 votes
2 answers
166 views

How to compress the files on frontend in Livewire

I am using browser-image-compression library to compress the images before uploading. Now it gives the compressed Image and the compressed image is also stored in the storage folder. But I want to ...
Muhammad's user avatar
1 vote
0 answers
79 views

Compression results from EZW paper not reproducible?

I have been doing some research into the Embedded zerotrees of wavelets algorithm as a reference method for a journal. I found a couple of implementations of it in Matlab, python, and C and was able ...
Cloud Wolf's user avatar
0 votes
1 answer
119 views

How to convert BC7 to ASTC directly and fastly?

I have prepared-well BC7 tetxure, how to convert it to astc format (e.g., ASTC_12x12) directly? Not decompress BC7 -> compress ASTC, It's too slow. Is there any algorithm or tool that can convert ...
carnot's user avatar
  • 301
1 vote
2 answers
407 views

Flutter resize and compress image in Isolate throws UnimplementedError

I am trying to resize and compress and image in an Isolate, because without that, the UI becomes janky. I tried it like this: import 'dart:isolate'; import 'package:firebase_crashlytics/...
Chris's user avatar
  • 2,404
0 votes
2 answers
170 views

Visualize an image pixel buffer with a bit depth of 3 i.e. each pixel having 3 bits of data

Question What are the tools/standards/file formats by which I can visualize my image pixel buffer on which each pixel has 3 bits? My Language is Go. PNG header Bit depth: 3 vs 4 An image pixel buffer ...
Megidd's user avatar
  • 8,185
0 votes
1 answer
100 views

Encoding ac and dc cofficients in jpeg compression after zigzag ordering

I'm trying to implement JPEG compression in python and so far I have done the following steps Color Space conversion Downscaling chrominance channels 8x8 block splitting ( adds padding if size is not ...
fafu playz's user avatar
2 votes
0 answers
108 views

Convert JPG image into WSQ image compression using NBIS on iOS

I need to convert and compress fingerprint images to the WSQ (Wavelet Scalar Quantization) format. WSQForAndroid is online availabe code which is working fine on android but I'm having wrong output in ...
Ali Haidar's user avatar
2 votes
0 answers
67 views

How to upload BC7 mipmaps less than 4x4 for D2Array?

I'm compressing images using the intel_tex_2 crate. I'm uploading using the wgpu crate. Texture format is Bc7RgbaUnorm. Everything works fine until I have more than 1 D2Array layer and less than 4x4 ...
VrydayVrything's user avatar

15 30 50 per page
1
2 3 4 5
56