Hello Andrei,
The error you're encountering indicates that the worldfileread function is unable to find the associated world file (.jpegw) for your image (domaine.jpeg). A world file is a plain text file that provides georeferencing information for raster images. It typically has the same name as the image file but with an additional "w" at the end of the extension (e.g., domaine.jpegw).
To fix it:
- Create a World File: Manually create domaine.jpegw with the necessary georeferencing parameters (6 lines of text).
- Ensure Correct Naming: Place domaine.jpegw in the same directory as domaine.jpeg.
Once the world file is correctly set up, your code should work without errors.