Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Posts: 13034
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK


Post by snibgo »

I use GaussJordanElimination() in matrix.c in my process module col2mat, which finds the colour matrix to make one image look like another.

However, this doesn't compile under v7.0.7-28 because GaussJordanElimination() has been made a private function.

Can it be made public again?
snibgo's IM pages:

User avatar
Site Admin
Posts: 11254
Joined: 2003-05-31T11:32:55-07:00

Re: GaussJordanElimination()

Post by magick »

IMv7 has a vast amount of optimizations over IMv6. One was reducing namespace pollution by eliminating one-off methods by making them private or static. Our preference would be to leave GaussJordanElimination() private and instead instruct you to clone the method to your col2mat module and conditionally compile if you detect you are using IMv7.