[MacPorts] #64465: opencv4 disables built-in image codecs

MacPorts noreply at macports.org
Tue Jan 18 11:58:57 UTC 2022


#64465: opencv4 disables built-in image codecs
-----------------------+---------------------
 Reporter:  larsgrobe  |      Owner:  (none)
     Type:  request    |     Status:  new
 Priority:  Normal     |  Milestone:
Component:  ports      |    Version:
 Keywords:             |       Port:  opencv4
-----------------------+---------------------
 Dear macports developers and maintainers,

 I just ran into the problem that an image codec, the Radiance RGBE high
 dynamic range encoding (hdr), that is supported by opencv, is not
 available when installed via macports. It is explicitly disabled in the
 portsfile (by toggling -DWITH_IMGCODEC_HDR):

 {{{
 -DWITH_LIBREALSENSE:BOOL=OFF \
 -DWITH_VA:BOOL=OFF \
 -DWITH_VA_INTEL:BOOL=OFF \
 -DWITH_MFX:BOOL=OFF \
 -DWITH_GDAL:BOOL=OFF \
 -DWITH_GPHOTO2:BOOL=OFF \
 -DWITH_ITT:BOOL=OFF \
 -DWITH_PROTOBUF:BOOL=OFF \
 -DWITH_IMGCODEC_HDR:BOOL=OFF \
 -DWITH_IMGCODEC_SUNRASTER:BOOL=OFF \
 -DWITH_IMGCODEC_PXM:BOOL=OFF \
 -DWITH_IMGCODEC_PFM:BOOL=OFF \
 -DWITH_QUIRC:BOOL=OFF \
 }}}

 Unless there are very good reasons to keep it disabled, I highly recommend
 to enable the built-in codecs. These are taken for granted on opencv
 installations.

 Best regards, Lars.

-- 
Ticket URL: <https://trac.macports.org/ticket/64465>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list