Questions tagged [jpeg]
JPEG is a common lossy compression method for digital images. Use this tag for questions about JPEG images.
4,970
questions
-5
votes
0
answers
46
views
How do i interact with an image in C [closed]
Ok so i wanted to write a program that could take an image check each individual pixel's color in a frame and assign it a greyscale number just by dividing the RGB value by 3. the problem is that i ...
1
vote
1
answer
31
views
Compress jpg with zopfli prevents jpg to be shown on EVE2 display
In order to save flash data and SPI traffic, I'm trying to compress my JPG images with zopfli before sending them to NHD-7.0-800480FT-CSXV-CTP. I'm using this library and an ESP32-S3.
For reference, ...
1
vote
1
answer
67
views
CBZ image concatenation in GoLang
I am trying to take a .cbz / comic book file, read the images into a single byte array and return it as a single image to serve in a web application. For testing purposes a .cbz file is just a rar ...
1
vote
0
answers
38
views
PHP libvips convert HEIC to JPG
I have the following code in PHP that is responsible for taking in a file and then converting it from HEIC -> JPG using the https://www.libvips.org/API/current/VipsForeignSave.html#vips-jpegsave ...
0
votes
0
answers
19
views
Metadata-extractor - Hashing Image data - excluding exif tags
As per
How do I obtain a hash of the payload of a digital photo container, ideally in Java?
I've trying to create hash of a jpg (in csharp) ignoring the exif data.
So using the code in https://github....
0
votes
1
answer
56
views
How to update exif data without losing JFIF header?
I use the following code to rotate an JPG image by 180 degrees, by updating EXIF header. I want to avoid re-encoding the image :
import PIL
import piexif
filename = "somefile.jpg"
img = PIL....
1
vote
0
answers
43
views
How do I retain the original jpeg image quality when I create a canvas
I have a form that displays a bunch of barcodes in jpeg format. When I right-click on an image and choose "saveAs", the file is saved with the original quality of the jpeg:
<div style=&...
0
votes
0
answers
37
views
inDesign Script Errors for Batch Exporting
I need to batch process exporting pages from an INDD document into different formats. here is what I have so far:
var pdfPreset1 = app.pdfExportPresets.item("[Smallest File Size]");
var ...
0
votes
2
answers
69
views
Where Delphi TFileFormatsList gets it members and is this dependent on installed third party libraries?
I am experiencing that Delphi's TImage component is very poor. I am working with various Delphi versions starting from Delphi 6 (2000 edition, we still have some projects on it) and ending with Tokyo, ...
0
votes
1
answer
40
views
ImageMagick: shaded colors become total black [closed]
I need to convert a pdf file containing only one image to a .jpeg or .png format using ImageMagick.
This is the image. Original PDF file: https://file.io/WMEsCGtbodwz
Using the command line
convert -...
0
votes
0
answers
38
views
Excel VBA - Paste image in clipboard to file
I have a spreadsheet that produces an image in the clipboard.
The sub I have opens a dialog box, and I just need to be able to write the clipboard image to whatever filename the user takes. Here is ...
0
votes
0
answers
26
views
For a 2D single channel image, what is an appropriate criterion to reorder the rows, such that a JPEG-like encoder performs the best?
I have a huge amount of time series data, each representing some observations at a certain position. Thus of course there exists spatial correlation. I am trying to reorganize these lines of ...
0
votes
0
answers
108
views
Fedora 40: libheif installed but heif-convert not found
I want to convert iPhone .heic files to .jpg. I've used heif-convert for this in the past, not sure if that was fc31 or fc35. Now I've (recently) upgraded to fc40. I've installed (and reinstalled) ...
0
votes
0
answers
34
views
How to build the jpeg library libjpeg.so as a shared library for android
I am trying to build the jpeg library as a .so file to use it on Android.
This is the jpeg library I want to use.
If you look at that git, there is a .so file, but the architecture I need is arm64-v8a,...
-1
votes
2
answers
71
views
How to make the white background of a jpg image transparent using Python?
My JPG image has a white background around it. I don't want to change the image itself, I just want to make the white background transparent.Here is the code:
import cv2
import numpy as np
from PIL ...