notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photos
All times are UTC
Ukraine
The recently imposed "must be logged in" restriction is a response to increased bot traffic on the site. This affects search, commits, and vuxml pages.
Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
Port details on branch 2026Q2
cimg C++ Template Image Processing Library
3.7.4_1,3 graphics on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 3.7.4_1,3Version of this port present on the latest quarterly branch.
Maintainer: thierry@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2026-06-22 16:33:09
Last Update: 2026-06-22 16:29:58
Commit Hash: 95a8257
Also Listed In: devel
License: CeCILL_C CeCILL
WWW:
https://cimg.eu/
Description:
CImg stands for Cool Image: it is simple to use and efficient. . The CImg Library is a free C++ toolkit providing simple classes and functions to load, save, process and display images in your own C++ code. . It is highly portable and fully works on Unix/X11, Windows and MacOS X operating systems. It should compile on other systems as well (eventually without display capabilities). . It consists only of a single header file CImg.h that must be included in your program source. . It contains useful image processing algorithms for loading/saving, resizing/ rotating, filtering, object drawing (text, lines, faces, ellipses,..), etc. . Images are instancied by a class able to represent images up to 4-dimension wide (from 1-D scalar signals to 3-D volumes of vector-valued pixels), with template pixel types. . It depends on a minimal number of libraries: you can compile it with only standard C libraries. No need for exotic libraries and complex dependencies. . Additional features appear with the use of GraphicsMagick: install the GraphicsMagick package to be able to load and save compressed image formats (GIF,BMP,TIF,JPG,PNG,...). . Additional features appear with the use of LAPACK: link your code with the lapack library to be able to compute eigenvalues or eigenvectors of big matrices.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (89 items)
Collapse this list.
  1. /usr/local/share/licenses/cimg-3.7.4_1,3/catalog.mk
  2. /usr/local/share/licenses/cimg-3.7.4_1,3/LICENSE
  3. /usr/local/share/licenses/cimg-3.7.4_1,3/CeCILL_C
  4. /usr/local/share/licenses/cimg-3.7.4_1,3/CeCILL
  5. bin/CImg_demo
  6. bin/captcha
  7. bin/curve_editor2d
  8. bin/dtmri_view3d
  9. bin/edge_explorer2d
  10. bin/fade_images
  11. bin/gaussian_fit1d
  12. bin/generate_loop_macros
  13. bin/hough_transform2d
  14. bin/image2ascii
  15. bin/image_registration2d
  16. bin/image_surface3d
  17. bin/jawbreaker
  18. bin/mcf_levelsets2d
  19. bin/mcf_levelsets3d
  20. bin/odykill
  21. bin/pde_TschumperleDeriche2d
  22. bin/pde_heatflow2d
  23. bin/plotter1d
  24. bin/radon_transform2d
  25. bin/scene3d
  26. bin/spherical_function3d
  27. bin/tetris
  28. bin/tron
  29. bin/tutorial
  30. bin/use_RGBclass
  31. bin/use_chlpca
  32. bin/use_draw_gradient
  33. bin/use_jpeg_buffer
  34. bin/use_nlmeans
  35. bin/use_skeleton
  36. bin/wavelet_atrous
  37. include/CImg.h
  38. share/doc/cimg/README.txt
  39. share/examples/cimg/CImg_demo.cpp
  40. share/examples/cimg/CMakeLists.txt
  41. share/examples/cimg/Makefile
  42. share/examples/cimg/captcha.cpp
  43. share/examples/cimg/curve_editor2d.cpp
  44. share/examples/cimg/dtmri_view3d.cpp
  45. share/examples/cimg/edge_explorer2d.cpp
  46. share/examples/cimg/fade_images.cpp
  47. share/examples/cimg/gaussian_fit1d.cpp
  48. share/examples/cimg/generate_loop_macros.cpp
  49. share/examples/cimg/hough_transform2d.cpp
  50. share/examples/cimg/image2ascii.cpp
  51. share/examples/cimg/image_registration2d.cpp
  52. share/examples/cimg/image_surface3d.cpp
  53. share/examples/cimg/img/CImg_demo.h
  54. share/examples/cimg/img/logo.bmp
  55. share/examples/cimg/img/milla.bmp
  56. share/examples/cimg/img/odykill.h
  57. share/examples/cimg/img/parrot.ppm
  58. share/examples/cimg/img/parrot_mask.pgm
  59. share/examples/cimg/img/sh0r.pgm
  60. share/examples/cimg/img/sh1r.pgm
  61. share/examples/cimg/img/tetris.h
  62. share/examples/cimg/jawbreaker.cpp
  63. share/examples/cimg/mcf_levelsets2d.cpp
  64. share/examples/cimg/mcf_levelsets3d.cpp
  65. share/examples/cimg/odykill.cpp
  66. share/examples/cimg/pde_TschumperleDeriche2d.cpp
  67. share/examples/cimg/pde_heatflow2d.cpp
  68. share/examples/cimg/plotter1d.cpp
  69. share/examples/cimg/radon_transform2d.cpp
  70. share/examples/cimg/scene3d.cpp
  71. share/examples/cimg/spherical_function3d.cpp
  72. share/examples/cimg/tetris.cpp
  73. share/examples/cimg/tron.cpp
  74. share/examples/cimg/tutorial.cpp
  75. share/examples/cimg/use_RGBclass.cpp
  76. share/examples/cimg/use_chlpca.cpp
  77. share/examples/cimg/use_cimgIPL.cpp
  78. share/examples/cimg/use_cimgmatlab.cpp
  79. share/examples/cimg/use_cimgmatlab.m
  80. share/examples/cimg/use_draw_gradient.cpp
  81. share/examples/cimg/use_jpeg_buffer.cpp
  82. share/examples/cimg/use_nlmeans.cpp
  83. share/examples/cimg/use_skeleton.cpp
  84. share/examples/cimg/use_tiff_stream.cpp
  85. share/examples/cimg/use_tinymatwriter.cpp
  86. share/examples/cimg/wavelet_atrous.cpp
  87. @owner
  88. @group
  89. @mode
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • cimg>0:graphics/cimg
To install the port:
cd /usr/ports/graphics/cimg/ && make install clean
To add the package, run one of these commands:
  • pkg install graphics/cimg
  • pkg install cimg
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: cimg
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1774619911 SHA256 (GreycLab-CImg-v.3.7.4_GH0.tar.gz) = 0dc1cb9cd35420b165fd2a0cb73967fdb1f0d4f328e58d0ef3a719c2a45e1a3f SIZE (GreycLab-CImg-v.3.7.4_GH0.tar.gz) = 12696739

No package information for this port in our database
Sometimes this happens. Not all ports have packages. Perhaps there is a build error. Check the fallout link: pkg-fallout
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. gmake>=4.4.1 : devel/gmake
  2. pkgconf>=1.3.0_1 : devel/pkgconf
  3. x11.pc : x11/libX11
  4. xrandr.pc : x11/libXrandr
Runtime dependencies:
  1. dcraw : graphics/dcraw
  2. medcon : graphics/xmedcon
  3. x11.pc : x11/libX11
  4. xrandr.pc : x11/libXrandr
Library dependencies:
  1. libcurl.so : ftp/curl
  2. libpng.so : graphics/png
  3. libtiff.so : graphics/tiff
  4. libImath.so : math/Imath
  5. libheif.so : graphics/libheif
  6. libOpenEXR.so : graphics/openexr
  7. libfftw3.so : math/fftw3
  8. libwebp.so : graphics/webp
  9. libopencv_core.so : graphics/opencv
  10. libGraphicsMagick.so : graphics/GraphicsMagick
  11. libavformat.so : multimedia/ffmpeg
  12. libjpeg.so : graphics/jpeg-turbo
  13. libMagick++-7.so : graphics/ImageMagick7
There are no ports dependent upon this port

Configuration Options:
===> The following configuration options are available for cimg-3.7.4_1,3: DOCS=on: Build and/or install documentation EXAMPLES=on: Build and/or install examples ===> Use 'make config' to modify these settings
Options name:
graphics_cimg
USES:
compiler:c11 gmake pkgconfig:build xorg jpeg magick:7
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/GreycLab/CImg/tar.gz/v.3.7.4?dummy=/
Collapse this list.

Number of commits found: 1

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
3.7.4_1,3
22 Jun 2026 16:29:58
commit hash: 95a8257766fd8aa682936ebe021072cf19db0430commit hash: 95a8257766fd8aa682936ebe021072cf19db0430commit hash: 95a8257766fd8aa682936ebe021072cf19db0430commit hash: 95a8257766fd8aa682936ebe021072cf19db0430 files touched by this commit
Gleb Popov (arrowd) search for other commits by this committer
Author: Evgenii Khramtsov
graphics/ImageMagick: update to 7.1.2-25

Changes:	https://github.com/ImageMagick/ImageMagick/compare/7.1.2-24...7.1.2-25
Security:	CVE-2026-53460
Security:	CVE-2026-53461
Security:	CVE-2026-53462
Security:	CVE-2026-53463
Security:	CVE-2026-53464
Security:	CVE-2026-53465
PR:		296190

(cherry picked from commit 320e46a6cee979c670baccc76382d9f3f7538bdf)

Number of commits found: 1