Skip to content

Failed to read HDR files after loading vsgXchange and GDAL #1136

Answered by robertosfield
Shanyzz asked this question in Q&A
Discussion options

You must be logged in to vote

I have downloaded a .exr and .hdr files for the same image from the provided link and the .exr loads fine once I installed libopenexr-dev and then rebuild vsgXchange/vsgExamples, but the .hdr file doesn't load. GDAL looks like it says it supports .hdr when queried about the extensions it supports as reported by vsgconv:

$vsgconv --features vsgXchange::GDAL

vsgXchange::GDAL provides support for 93 extensions, and 0 protocols.
    Extensions      Supported ReaderWriter methods
    ----------      ------------------------------
    .ACE2           read(vsg::Path, ..) 
    .asc            read(vsg::Path, ..) 
    .bag            read(vsg::Path, ..) 
    .bil            read(vsg::Path, ..) 
 …

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Shanyzz
Comment options

@robertosfield
Comment options

Answer selected by robertosfield
@Shanyzz
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants