I am using
gdal_translate -b ... in.sid out.sid to remove excess bands (there are 5 bands) from .sid files as a layer created from these .sid's will be a JPEG layer. When executing command on a .sid file and expecting to get .sid file as an ouput but I get a .tiff and a warning
Warning: The target file has a 'sid' extension, which is normally used by the MrSID driver, but the requested output driver is GTiff
"The following format drivers are configured and support output" list does not show MrSID driver among supported drivers.
How to make gdal_translate support MrSID driver?