Open soniok opened 6 years ago
The only source image formats supported by the application are jpg and png. That's because the image is loaded in openlayers for registration points coupling that handles any web image format. The line you suggest to modify is needed to reclassify any source image type to a common rgb type. The scenario app use does not include multiband images because I think there are other powerful system to handle them. The typical source is an old scanner map in png or jpeg of b&w, grayscale or rgb type, so a png B&W should be processed without problem, but no tiffs or jp2 at all. But It would interesting explore other possible workflows.
For those interrested in what images I'm using, they are non-georeferenced, .jp2(Jpeg2000) format, B&W historical orthophotos available from the French Geographic Institute. Available for free and are public domain. IGN - Remonte Le Temps Then I convert them to .PNG before uploading them to the site.
I get an error when I try to georeference a black and white image. My goal is to georeference mostly black and white, and a few colored images.
So here is my error:
Here is my temp fix, can we make it better? Edit line 662:
With the edit above, everything works fine. Can @enricofer mod this correction to properly work for grayscale/B&W and color images?