Questions tagged [jpg]

A commonly used method of lossy compression for photographic images

Filter by
Sorted by
Tagged with
0
votes
1answer
35 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!
0
votes
1answer
15 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, ...
2
votes
2answers
106 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 ...
0
votes
1answer
19 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 ...
1
vote
1answer
83 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 ...
0
votes
0answers
59 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 ...
0
votes
0answers
16 views

Exporting to jpg exact extent of image

I am trying to export the exact extent of a georeferenced image layer to jpg format using the exporttojpg function in arcpy. However, I am having issues setting the appropriate scale and dataframe ...
0
votes
0answers
9 views

Using splitRaster in ArcGIS Pro outputs dark JPEGs, bright PNGs

I am using the splitRaster function to create 10m x 10m JPEG files from a GeoTIFF, inputting a fishnet grid as a polygon to clip it by. I have figured out the problem of the depth changing between ...
1
vote
1answer
44 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? $ ...
0
votes
1answer
73 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 ...
1
vote
1answer
68 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 ...
0
votes
1answer
100 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 ...
1
vote
1answer
47 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 ...
2
votes
1answer
506 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-...
2
votes
2answers
329 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 ...
1
vote
0answers
57 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 ...
3
votes
1answer
3k 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....
1
vote
0answers
35 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?
1
vote
1answer
844 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 ------------------------------------------------------------------------...
0
votes
0answers
39 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 ...
1
vote
1answer
91 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 ...
2
votes
0answers
67 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 ...
1
vote
1answer
110 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....
0
votes
1answer
125 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 ...
0
votes
1answer
2k 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 ...
1
vote
1answer
310 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 ...
-1
votes
2answers
952 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.
-1
votes
1answer
96 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 ...
-1
votes
2answers
454 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({ ...
8
votes
2answers
3k 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 ...
0
votes
1answer
46 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 ...
0
votes
1answer
450 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 ...
0
votes
1answer
240 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 ...
1
vote
0answers
82 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 ...
0
votes
1answer
690 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 ...
0
votes
1answer
75 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 ...
1
vote
2answers
223 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 ...
0
votes
1answer
23 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 ...
3
votes
1answer
2k 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 ...
1
vote
1answer
129 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 ...
1
vote
0answers
26 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 ...
2
votes
1answer
38 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 - ...
1
vote
0answers
58 views

reprojecting WorldImage File

I can reproject a GeoTiff file like this: gdalwarp -s_srs EPSG:31467 -t_srs EPSG:4326 or11.tif or11_4326.tif How can I reproject a WorldImage File, i.e a jpg with an attached .jgW file?
7
votes
1answer
507 views

Exporting map frame to JPEG with world file (or GeoTIFF) using ArcPy for ArcGIS Pro?

Is it possible to export a Map Frame to JPEG with a world file (JPW) that respects its extent? Using ArcGIS Pro 2.0.1 (and I think the behaviour at 1.4.1 was the same) I have noticed something that ...
1
vote
1answer
406 views

Georeferencing JPEG from TIFF using ArcMap?

I recently georefernced some TIFFs. However, unfortunately I have to do the same stuff with equivalent JPGs (same image, same resolution, just JPGs). Is there an easy way to georeference the JPGs ...
0
votes
1answer
557 views

Converting images to different file formats using GeoTools

After searching through GeoTools documentation and following their tutorials, I have failed to find a class that can convert images to different format (for example translate a .tif to .jpg). Does ...
-1
votes
1answer
672 views

Exporting map with transparent background to png or jpg? [duplicate]

Is there any possible way to export a map from Arcmap 10.5 without the white background? I need to insert the map in a dashboard with blue background and i only need the outline of the layer not the ...
2
votes
2answers
558 views

Python script to Export multiple MXDs to JPG

I have a project where I have many MXDs in one folder, and would like to export each one to JPGs in another folder. I've been stumped with a particular error message I'm running in to: Runtime ...
1
vote
0answers
283 views

jpg addition to qgis

I'm having lots of trouble with my jpg showing up on my qgis template. I have saved the image in the same folder as my .qgs file, so it should come with associated files. As you can see, the thumbnail ...
1
vote
1answer
251 views

Topographicmap.jpg convert to GPS readable [closed]

I have topographic map 1:25000 and I want that map to be GPS readable. So, is there any program for maps that can import this .jpg extension and to track my position in platform of this my topo map ? ...