jpeg Questions

3

Solved

I'm looking for a library specialized at compressing Jpegs even further without changing the image. I've found PackJpeg but it doesn't provide any source code and you're not allowed to use it...
Fleuron asked 25/10, 2011 at 20:51

3

Solved

I recreated the issue in a minimal form: MAIN: public class ImageIOMain extends Application { @Override public void start(Stage stage) throws Exception{ Scene scene = new Scene(new StackPane(...
Amazon asked 27/8, 2019 at 10:47

7

I am taking a jpg image and using numpy's fft2 to create/save a new image. However it throws this error "IOError: cannot write mode F as JPEG" Is there an issue with CMYK and JPEG files in PIL...
Goat asked 23/5, 2013 at 17:52

7

Solved

Scenario I would like to save images with alpha transparency as .png and images without alpha transparency as .jpg (even if their original format is .png or .gif). How can I detect whether or not a...
Dominicadominical asked 5/4, 2010 at 22:5

6

Solved

I've got a JPEG image which was taken on an iphone. On my desktop PC (Windows Photo Viewer, Google Chrome, etc) the orientation is incorrect. I'm working on an ASP.NET MVC 3 web application where ...
Cannonball asked 3/6, 2011 at 1:15

2

Solved

This works: from PIL import Image, ImageFont, ImageDraw def create_image_file(name='test.jpeg', ext='jpeg', size=(500, 500), color=(5, 179, 200)): file_obj = open(name, 'w') image = Image.new("...
Disembodied asked 5/5, 2016 at 10:57

7

Solved

I have created a .vcf contact with an iPhone and sent the file to myself in email. In that .vcf, I took a photo which is directly saved in the vCard, not in the phone's memory. In the source of th...
Daryn asked 10/3, 2013 at 21:43

3

I have few thousand images in HEIC format that need to be converted to jpg/png. Conversion needs to happen in a backend process preferably java. What is the best way available to do this in java?...
Food asked 11/5, 2018 at 23:42

13

Solved

I have an NSBitmapImageRep which is WxH size. I create NSImage and call addRepresentation:. Then I need to resize the NSImage. I tried setSize method but it doesn't work. What should I do?
Hayleyhayloft asked 14/8, 2012 at 9:15

3

Solved

I'd like to work directly with compressed JPEG images. I know that with PIL/Pillow I can compress an image when I save it, and then read back the compressed image - e.g. from PIL import Image im1 ...
Tung asked 11/6, 2015 at 4:35

9

Solved

How can I write some information inside a photo file like jpg or gif without destroying the image? and of course without showing it on the photo since the whole idea is to send information in the f...
Pre asked 1/8, 2009 at 8:19

5

Solved

I have an application where user can upload multiple images and all the images will be stored in a server and will be displayed on a web view in my iOS application. Now everything used to work jus...
Joli asked 22/11, 2017 at 7:56

4

Solved

The images that are fresh out from digital cameras are often above the size of 2-3 MB making it difficult for it to get transferred over email and other ways. This requires the image to be resized ...
Emia asked 21/6, 2012 at 12:18

8

Solved

Im trying to convert HEIC to JPG using python. The only other answers about this topic used pyheif. I am on windows and pyheif doesn't support windows. Any suggestions? I am currently trying to use...
Bilicki asked 13/9, 2020 at 0:52

5

Solved

I need to find the size of a JPEG (JFIF) image. The image is not saved as a stand-alone file, so I can't use GetFileSize or any other API such this one (the image is placed in a stream and no other...
Stravinsky asked 12/10, 2009 at 21:35

1

Solved

I'm trying to copy EXIF tags from one JPEG to another, which has no metadata. I tried to do what is described in this comment. My idea is copy everything from the tags source file until the first f...
Gyimah asked 27/7, 2023 at 7:28

8

Solved

I'm using PIL to convert a transparent PNG image uploaded with Django to a JPG file. The output looks broken. Source file Code Image.open(object.logo.path).save('/tmp/output.jpg', 'JPEG') or...
Vaasta asked 6/2, 2012 at 19:58

4

Solved

How do I execute ImageMagick's convert if I want a JPEG from the first page only of a multi-page PDF?
Contractive asked 27/9, 2012 at 5:45

4

Solved

I convert PDF -> many JPEG and many JPEG -> many PDF using ghostscript. I need to add watermark text on every converted JPEG (PDF) page. Is it possible using only Ghostscript and PostScript? The o...
Coprophagous asked 3/9, 2012 at 6:38

6

Solved

I have a BufferedImage I'm trying to write to a jpeg file, but my Java program throws an exception. I'm able to successfully save the same buffer to a gif and png. I've tried looking around on Goog...
Electromotive asked 7/8, 2010 at 23:4

5

I wrote a python script to detect broken images and count them, The problem in my script is it detects all the images and does not detect broken images. How to fix this. I refered : How to check ...
Laundress asked 20/10, 2017 at 17:38

10

Solved

PHP has built in support for reading EXIF and IPTC metadata, but I can't find any way to read XMP?
Firsthand asked 16/10, 2009 at 13:50

2

Solved

I am trying to convert an []byte object to an image and save it as a jpeg in Golang. I tried to use Decode function of image but it always returns <nil>. func saveFrames(imgByte []byte) { ...
Vilhelmina asked 23/10, 2018 at 10:36

3

Solved

I'm looking to convert a web-based image to base64. I know how to do it currently by saving the image as a .jpg file and then using the base64 library to convert the .jpg file to a base64 string. ...
Entoderm asked 16/7, 2016 at 5:56

6

Solved

My goal is to determine the compression parameters of the jpeg image that I have. As I understood from this answer, it's possible using the ImageMagick function identity. I downloaded from the offi...
Chaunce asked 8/8, 2016 at 8:58

© 2022 - 2025 — McMap. All rights reserved.