Timeline for Convert a tiff Float32 image to 8bit tif (or jpeg) image using GDAL and Python
Current License: CC BY-SA 3.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 23, 2015 at 19:25 | comment | added | xunilk | By the way, subprocess doesn't work in my system after actualization of my QGIS to 2.8 version. For this reason I used GDAL library in Python. | |
Apr 23, 2015 at 19:07 | comment | added | xunilk | You have my code with GDAL (See my Editing Note). | |
Apr 23, 2015 at 19:02 | history | edited | xunilk | CC BY-SA 3.0 |
Add more information
|
Apr 23, 2015 at 18:41 | history | edited | xunilk | CC BY-SA 3.0 |
deleted 1248 characters in body
|
Apr 23, 2015 at 18:19 | history | edited | xunilk | CC BY-SA 3.0 |
Add more information
|
Apr 23, 2015 at 16:56 | comment | added | Bárbara Duarte | Yes, but the process is inside an application. So I need to automatize the process. I try to use the command gdal_translate in python script through os.system and subprocess.call but without success. | |
Apr 23, 2015 at 16:20 | comment | added | xunilk | As you said "I need to convert a Float32 tiff image to 8 bit format in order to display the image in a web page", for this requirement you don't need Python and the reason of my answer. However, it's not difficult to do that. | |
Apr 23, 2015 at 16:12 | comment | added | Bárbara Duarte | Yes, I know how to do it in QGIS but I want python code to insert in a script. That's my dificulty. | |
Apr 23, 2015 at 15:53 | history | answered | xunilk | CC BY-SA 3.0 |