Questions tagged [jpg]

A commonly used method of lossy compression for photographic images

Filter by
Sorted by
Tagged with
1 vote
1 answer
46 views

How could I make .jpg files don't use the QGIS icon [closed]

I'm a bit perfectionist and the QGIS have a annoying little problem: it changes all of my .jpeg and .jpg icons to QGIS file icons. I would like to change that, but I have no idea. I use Linux Minx ...
user avatar
  • 21
3 votes
1 answer
150 views

JPEG compress hillshade

I have a hillshade which I want to compress using JPEG compression: gdal_translate -co COMPRESS=JPEG -co TILED=YES /home/bera/Drives/ssd1/Hillshades/testhillshade.tif /home/bera/Drives/ssd1/Hillshades/...
user avatar
  • 51.1k
0 votes
1 answer
548 views

Getting Export Failed error in Export Layout tool of ArcGIS Pro

I get the "Export Failed" error message when I run the Export Layout tool of ArcGIS Pro. It happens then I try exporting a JPEG, or a .pdf. When I have layers visible or none visible. In the ...
user avatar
4 votes
1 answer
34 views

Gradients Changed on Export in QGIS when Coord Mode set to Viewport

I made a map in QGIS that includes a couple different gradients. Here you can see an indicator map that has a gradient fill enabled. (This image is from the print layout/composer.) (Here is the ...
user avatar
  • 333
1 vote
1 answer
117 views

Converting big GeoTIFF file into JPEG

I have a big high-resolution orthophoto image (6cm/pixel, 22gb). I need to convert it to a JPEG image. Using QGIS (Raster - Conversion - Translate (Covert Format)) or the same GDAL command in OSGeo4W ...
user avatar
  • 139
0 votes
1 answer
27 views

How to calculate the Exif metadata YCbCrPositioning from an image? [closed]

I'm checking how to calculate that value from a JPEG file and I'm pretty confused: YCbCrPositioning should be defined as shown in this page: https://freeimage.sourceforge.io/fnet/html/4A015DE9.htm ...
user avatar
0 votes
0 answers
25 views

Adding JPEG Raster in QGIS Results in Library Error

To start I am running QGIS 3.18 as a Flatpak on Manjaro Linux. When I attempt to add a raster layer to a project, I get the following error: Invalid Layer: GDAL provider Cannot open GDAL dataset /home/...
user avatar
0 votes
0 answers
138 views

Downloading a tile in OpenStreetMap, georeference it and export to .jpg or. tiff

Quick explanation of what I need: I need to get a good quality street map size 1 degree x 1 degree. Lets say S25 E 28 and S 26 E 29 If possible zoom level 14 at least. After downloading this tile, I ...
user avatar
0 votes
1 answer
251 views

How to Overlay the GeoTIFF file on Google Earh

I found how to open the GeoTIFF files on the Google Earth Pro from this site. However, though I followed the way, it just show white images on the Google Earth Pro like this: You can see three boxes ...
user avatar
0 votes
0 answers
154 views

QGIS 3.16.6 cannot load JPG

I'm trying to load raster file JPG format into QGIS on Linux. And then I got this message: Invalid Data Source : /home/name/map/13-36.jpg is not a valid or recognized data source. If I use "Add ...
user avatar
0 votes
1 answer
110 views

Is there a way to clip a jpg layer in QGIS?

I have a jpg image as a layer in QGIS but want to clip it to get rid of the white background is this possible? As it is not a raster file, when I convert it to a raster it losses its image quality!
user avatar
  • 1
0 votes
1 answer
272 views

Saving raster to jpeg with rioxarray

I wanted to save a raster (1 band) file as a jpeg with: xarray.rio.to_raster(save_path, compress='JPEG', photometric='YCBCR' if xarray.sizes['band'] == 3 else None, ...
user avatar
2 votes
2 answers
768 views

Rasterio and OpenCV reads JPEG differently

I realise a very similar question was asked as Rasterio and OpenCV shows two different pixel arrays for same image. However my situation is slightly different and I only wish to know why this ...
user avatar
0 votes
1 answer
58 views

Removing old logo filepath from layout view in ArcMap

I'm using a very old MXD in ArcMap. We have a wall map set up with symbology to show one type of our strucutres. The problem is that in our legend, our old company logo file path has replaced the ...
user avatar
1 vote
2 answers
383 views

Making and exporting high resolution (detailed) map in QGIS

My co-worker gives me a map in JPEG format which is exported from ArcGIS Desktop. When I zoomed it, it shows every detail of the map. I am using QGIS and I export a map from QGIS. When I try to zoom ...
user avatar
0 votes
0 answers
149 views

JPEG file wont open in QGIS 3.10 but does in QGIS 3.4

I recently made the upgrade to QIGS 3.10 from 3.4 and I am having trouble loading a JPEG image that previously worked fine in 3.4. In the georeference window when I try to open the raster I am given ...
user avatar
  • 1
1 vote
1 answer
139 views

gdal_translate to JPEG has no EXIF in the output

I am trying to create .jpg files that can be consumed on the web from a .tif image. I would like to rely on EXIF data about the image metadata, however, I fail to read any. What am I doing wrong? $ ...
user avatar
0 votes
1 answer
344 views

Error with .jpeg in Georeferencer

QGIS error message when in Georeferencer: .jpg is not a supported raster data source. libjpeg: Bogus Huffman table definition How do I fix this? Tried different .jpeg and still doesn't work. Previous ...
user avatar
1 vote
1 answer
256 views

Extract JPEG out of raster based on rectangle location in QGIS

I have 10 overlaying rasters (both one- and multi-band) - same area, different date. I also have shapefile layer with 12 rectangle polygons. What I want is to extract proportion of raster inside each ...
user avatar
  • 355
0 votes
3 answers
661 views

Google Earth - Force KML polygon on top of image overlay

In google earth: Step 1. Create polygon layer. Step 2. Overlay image file (mine is in jpg format). Step 3. Move polygon layer above and below image file in the "My Places" menu. I cannot ...
user avatar
1 vote
2 answers
256 views

QGIS 3.4 Not Exporting Map to JPEG, JPG, PNG, PDF

I'm using 3.4 version, and unable to export my map as different image types. It immediately says my export was successfully saved, but when I navigate to the folder it says I saved it in, nothing is ...
user avatar
2 votes
1 answer
2k views

Trying to install gdal 3.0.4 on Red Hat 8

I'm running Red Hat 8, and I'm trying to install gdal 3.0.4 on it. The commands I've excuted thus far: wget http://download.osgeo.org/gdal/3.0.4/gdal-3.0.4.tar.gz tar zxvf gdal-3.0.4.tar.gz cd gdal-...
user avatar
2 votes
2 answers
720 views

QGIS not loading jpg with coordinate information

I have downloaded some jpg files that came with jpgw cordinate information but when I bring the data into qgis using the Data Source Manager it doesn't ask me for the projection and it doesn't place ...
user avatar
  • 7,494
1 vote
0 answers
61 views

Printing Soviet-era Russian military maps at original scale

I have some Soviet era maps of my country that are very detailed. I have access to a plotter and would like to make a hard copy for my hiking trips but have issues getting the resolution/map scale to ...
user avatar
3 votes
1 answer
7k views

Save GeoDataFrame to .jpg file

I have a GeoPandas DataFrame (loaded from a shapefile) containing a number of polygons which looks like this: geometry raster_val 0 POLYGON ((8.56799 47....
user avatar
  • 131
1 vote
0 answers
65 views

Batch convert GeoTIFFs to JPEG keeping GPS info [closed]

How can I convert a batch of GeoTIFFs files to JEPG preserving GPS info on EXIF?
user avatar
1 vote
2 answers
2k views

Python ImportError with libgdal, undefined symbol: opj_codec_set_threads

GDAL and its Python 3 bindings have been installed through apt package manager for weeks, but, suddenly: from osgeo import GDAL ------------------------------------------------------------------------...
user avatar
  • 2,252
0 votes
0 answers
53 views

GeoServer ArcGIS rasters problem

My GeoServer 2.15.0 doesn't create mosaic storage using rasters created in ArcGIS (GeoTIFF, jpg). Everything is fine, when rasters created in QGIS or GlobalMapper. When I'm trying to create mosaic ...
user avatar
  • 311
1 vote
1 answer
94 views

How to convert a jpeg map of borders into a shapefile?

I have a map of French departments from the 19th century (impossible to find in shapefile format) in jpeg format and I would like to convert it into a shapefile in order to regroup raster data and ...
user avatar
  • 35
2 votes
0 answers
141 views

Save GridCoverage2D to JPG [closed]

I am using following code to save a Goverage2D to JPG: File tmpJpgFile = File.createTempFile("temp", ".jpg"); Iterator<ImageWriter> writers = ImageIO.getImageWritersBySuffix("jpg"); ImageWriter ...
user avatar
  • 165
1 vote
1 answer
203 views

Extract 3 colors from JPEG and change it by 3 other

I would like to import a JPEG image, find and extract 3 colors and change by 3 others to use as ID. I can find the 3 colors I want by using Raster and I save the 3 images associated to these 3 colors....
user avatar
  • 139
0 votes
1 answer
193 views

Convert Sentinel GeoTIFF file to JPEG image

I am facing difficulty converting between Sentinel GeoTIFF file and JPEG file. I used below command i.e. gdal_translate -b 4 -b 3 -b 2 -of JPEG -scale inputimage.tif outputfile.jpeg The problem with ...
user avatar
  • 13
0 votes
1 answer
3k views

gdal_translate JPEG to GeoTIFF using Python

I was able to convert my GeoTIFF images (from the SpaceNet dataset) to JPEGs using gdal_translate but I would like to know how to convert the JPEGs back to GeoTIFF. I've noticed that gdal_translate ...
user avatar
1 vote
1 answer
433 views

Differences between jpg and jpeg - tif and tiff in QGIS [closed]

I'm running QGIS 2.18.21 but this has been an issue in a few versions; is there any reason why QGIS offers both jpg and jpeg as well as tiff and tif options to export images? Apart from being annoying ...
user avatar
  • 123
-1 votes
2 answers
1k views

TIFF to JPEG compress [closed]

I have a GeoTIFF image, size 11gb. It's too big to work with. How can I compress it in JPEG format with QGIS? I tried through GDAL and did not succeed.
user avatar
-1 votes
1 answer
146 views

Seeking code sample or pointer showing how to calculate Corner Coordinates of JPG file based on EXIF GPS data? [closed]

This is a follow up to this question: Using GDAL to extract Corner Coordinates based on a jpg file's GPS EXIF data? Per the answer I received to the above question, gdal_merge cannot merge JPG ...
user avatar
  • 111
-1 votes
2 answers
763 views

Exporting image from GEE to Google Cloud Bucket in PNG/JPEG format? [closed]

The below lines of code shows the export of the image to the cloud. I am unable to convert my file to JPEG/PNG. I want my image to be saved in PNG/JPEG in the cloud. Export.image.toCloudStorage({ ...
user avatar
8 votes
2 answers
4k views

How to put geotagged .jpg thumbnails on a map in QGIS?

I have a collection of photos (already geotagged in EXIF) and I'd like to put thumbnails of these pictures on a map (at the location where they were taken). Just looking for a static visualisation of ...
user avatar
  • 83
0 votes
1 answer
51 views

ArcGIS file export

Am having issues exporting a Layout Map of an area from ArcGIS to any raster format (JPEG, TIFF and PNG). The map gets partially exported with no errors reported. Exporting to PDF works fine. My ...
user avatar
  • 11
0 votes
1 answer
883 views

Using arcpy.mp to export map to JPEG?

I am using ArcGIS Pro for my map automation. I try to use arcpy.mp module to identify the maps in the current project. I want to export the map into a jpeg image like what we can do via Map Export ...
user avatar
  • 101
1 vote
1 answer
666 views

Find and replace image path

I have multiple mxd's with many company logos as jpg's. We've moved the location of the logos from the F:\ drive to the C:\ drive. I have a script that is supposed to change the path, but not sure ...
user avatar
  • 21
1 vote
0 answers
112 views

Exporting several maps with excel sheet using Arcpy

I try to export 20 maps with this python code in ArcGIS 10.3.1 for Desktop. Each map has excel sheet (not attribute table) in the layout view. The excel sheet file located in G:\Users\test\Downloads ...
user avatar
  • 3,962
0 votes
1 answer
1k views

Upload JPEG to GeoServer

I want to add an "World Image" Datastore to my GeoServer, based on a georeferenced JPEG that I have on my local drive. Can I upload it to the GeoServer data folder from within the GeoServer ...
user avatar
  • 1,047
0 votes
1 answer
122 views

How to get output format JPEG using like source GeoTIFF (int16) in service WCS in Geoserver?

I have GeoTIFF file (int16), and I publish the layer in Geoserver using like store in Geoserver my file, now I used WCS request builder to get JPEG-like output format and I get an error "No possible ...
user avatar
  • 21
1 vote
2 answers
350 views

Convert multiple bsq files to jpg images in python

I am trying to convert a big number of bsq files to JPEG images. I found the way to do it only for one file but I cannot figure out how to put it in a loop in order to run repetitively all the files ...
user avatar
0 votes
1 answer
27 views

Why is ArcMap displaying jpgs and geoTIFFs differently than the raw file? [duplicate]

I have a world jpg file that I am trying to use as a background image in ArcGIS. When I look at the raw jpg through a random picture viewer, it looks like this: However, when I load the image into ...
user avatar
  • 115
3 votes
1 answer
3k views

Performing gdal translate to png/jpeg?

I tried gdal translate to png: gdal_translate image.bsq image.jpg -of JPEG -outsize 10% 10% -scale and jpeg: gdal_translate image.bsq image.png -of PNG -outsize 10% 10% -scale jpeg looks better ...
user avatar
  • 503
1 vote
1 answer
165 views

Opening a jpg with kml from ncap.org.uk

I am using QGis 2.18.7 and would like to open a jpg from ncap.org.uk: Here is the link to the image but one has to register in order to download the image: https://ncap.org.uk/frame/6-1-17-30-391 ...
user avatar
  • 11
1 vote
0 answers
29 views

Routine for Transforming Raster Layer Projection [closed]

I am working with georeferenced raster images in pseudo mercator (3857). They are in TIFF with TFW- and JPG with JGW world files. The TIFFs are also available tiled. I'd like to be able to transform ...
user avatar
  • 87
2 votes
1 answer
47 views

Batchprocess asking for CRS for every file

I "wrote" a model using the graphical modeller which uses GDALs "translate" to convert one geotiff to one georeferenced jpeg. The model simply tells, which is the desired CRS and - most important - ...
user avatar
  • 12.4k