image-compression Questions

4

I would like to find the smallest possible, but valid (viewable) base64 encoded AVIF string for testing browser image support with javaScript. I'm using this set: const imgs = { jxl: "/wr6HwG...
Iluminadailwain asked 19/11, 2021 at 10:45

1

In order to compress .jpg file this code simply works. File pickedFile = await ImagePicker.pickImage(source: ImageSource.gallery); print('Size in kb: -> ' + (pickedFile.lengthSync() / 1000)....
Vivanvivarium asked 26/4, 2020 at 5:33

2

I am trying to compress PDF versions of my school newspaper using code and created the following script which works perfectly below. gs -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -dCompatibilityLevel=1.4...
Tenuto asked 18/4, 2014 at 18:41

4

I am trying to compress images with mozjpeg when I implemented it in node.js according to the docs it worked fine. const input = fs.readFileSync("in.ppm"); const out = mozjpeg.encode(input, { qual...

4

Flutter Web is currently in beta, so there's a lack of available info/resources on how to do this. I could not find any flutter packages compatible with web to do this. Any tips? Here's my code: ...
Edwardoedwards asked 17/3, 2020 at 19:15

13

Solved

This is really a two part question, since I don't fully understand how these things work just yet: My situation: I'm writing a web app which lets the user upload an image. My app then resizes to s...
Homunculus asked 8/1, 2010 at 1:50

1

After processing a previously optimized indexed color PNG image with transparency (see here for some background, since this question refers to the same image file), using the following code, the PL...

4

From pagespeed I am getting only image link and possible optimizations in bytes & percentage like, Compressing and resizing https://example.com/…ts/xyz.jpg?036861 could save 212KiB (51% reduct...

2

Solved

thanks for taking the time to read my post. I'm working on a little project that is going well but as an optimisation exercise I would like to reduce the size of some of the JPEG's i'm outputting...
Bedstraw asked 6/3, 2013 at 17:26

4

Solved

I went through how DCT (discrete cosine transform) is used in image and video compression standards. But why DCT only is preferred over other transforms like dft or dst?
Subtile asked 20/4, 2013 at 10:31

3

Solved

I want to reduce the size of a bitmap to 200kb exactly. I get an image from the sdcard, compress it and save it to the sdcard again with a different name into a different directory. Compression wor...
Apodosis asked 6/6, 2013 at 5:13

3

When I try to compress the a jpg image, most of the time it work perfectly, however some jpg image turn green after the compression. Here is my code public void compressImage(String filename, Stri...
Dichromaticism asked 15/3, 2011 at 18:28

3

I want to resize and compress images using sharp in node.js In sharp for jpeg there is separate compression and for webp there is separate and for png there is separate. WEBP sharp('a.jpg') .res...

2

I want to compare two images and then generate and save an image that will show all the differences that has been found, for example: I am using ImageMagick: https://magick.codeplex.com/ But the...
Selfcentered asked 1/11, 2016 at 13:20

2

Problem to solve: I'm on a CentOS platform. I would like to have static image assets (jpg/gif/png) compressed for optimized web serving (without resizing), while keeping the originals. For exampl...
Coauthor asked 9/2, 2017 at 20:51

6

Solved

I was checking out this laravel library to compress user uploaded images.http://image.intervention.io/ I was wondering if this is a good idea for user uploaded images (for profilepictures)? What i...
Gist asked 25/5, 2016 at 7:18

1

I am making an app for image compression And I am new to Android development....So my problem is as we have some issue with accessing External storage in JAVA......I have Tried compile 'id.zelory:c...
Ecuador asked 4/3, 2021 at 21:56

3

Solved

I used Microsoft Paint to create a 15248 x 6552 solid color picture. I saved it as both .png and .jpg and was expecting the .jpg to be smaller than .png, but it was not. The .jpg file is 1.49MB, wh...
Deadwood asked 15/5, 2017 at 1:59

1

Solved

I want to convert .jpg or .png files to .webp. Unfortunately image package only support webp reading and not writing. One solution would be to add the linux binary file to flutter (cwebp), but how...
Clare asked 12/6, 2020 at 22:36

5

Solved

I'm using javax.imageio.ImageIO to save a BufferedImage as a jpeg file. In particular, I created the following Java function: public static void getScreenShot(BufferedImage capture, Path folder, ...
Dinitrobenzene asked 14/6, 2013 at 12:12

1

For setting up a letterhead style layout in Google Docs, we find it handy to put a logo in the header section. However, when the Google Doc is downloaded as a PDF, the image is over-compressed, mak...
Turncoat asked 22/7, 2020 at 6:41

2

Solved

I am improving the performance of my application. I want to compress images and videos to minimum size without any quality loss i.e. lossless compression. For images, i've used imagemin pa...

13

Solved

I want to capture image in low resolution using android camera api but when I captured image it will take default resolution of device camera.So I want to capture image in low resolution or small s...

6

Solved

I am Using Retrofit retrofit:2.1.0' to upload file image to server If I take image using front camera image get uploaded successfully but if take back side camera its not uploaded i think because...
Artificer asked 14/4, 2017 at 9:57

2

Solved

I am doing image processing in a scientific context. Whenever I need to save an image to the hard drive, I want to be able to reopen it at a later time and get exactly the data that I had before sa...
Waxwork asked 19/12, 2017 at 10:33

© 2022 - 2024 — McMap. All rights reserved.