Processing for print
Re: Processing for print
Yeah, kept on typing the extra "s" .
ImageMagick 7.0.7-25 Q16 x64 2018-03-04 · Cipher DPC HDRI Modules OpenMP · Windows 7
Re: Processing for print
snibgo: Good, analyze is on the list now. A lot is going on here. Correct me if I am wrong: All I need to do is copy Makefile.am and the *.c files to filters; the rest is just to explain what modules, etc., are. If that's the case, then I just need to rebuild %im32f%. For my PC, it takes a very long time to build, so I want to make sure I don't have to do it unnecessarily anymore .
ImageMagick 7.0.7-25 Q16 x64 2018-03-04 · Cipher DPC HDRI Modules OpenMP · Windows 7
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Processing for print
You can get all the C sources from one zip file, see http://im.snibgo.com/zipbats.htmafre wrote:Correct me if I am wrong: All I need to do is copy Makefile.am and the *.c files to filters ...
Annoyingly, makefle.am doesn't get stuffed into the zip [I'll correct this], so you'll have to copy-paste it from the website.
Yes, just copy those, then the five commands: "automake" to "make install".
[If I've missed a step, please tell me, and I'll correct the web page.]
A full IM build takes my laptop about 30 minutes. If I've only changed a process module, I only need "make install" which is about 10 minutes.
On the web page, I say:
My current practice is to use --with-modules=yes, so I don't modify magick/module.c and magick/static.c.snibgo wrote:Edit magick/module.c and magick/static.c. In these source files, search for analyze, and add code for any other modules. This is only needed if we link the modules into a single library or binary. If we configure if with --with-modules=yes, we don't need to change these source files (I think).
snibgo's IM pages: im.snibgo.com
Re: Processing for print
Makes sense. Will give it a try sometime. BTW—is analyze.c legit or just a dummy module? It's included in your Makefile.am; however,
[i]snibgo[/i] wrote:The numbers are clearly wrong (the mean lightness isn't that low) but the point is that the analyze module does run.
ImageMagick 7.0.7-25 Q16 x64 2018-03-04 · Cipher DPC HDRI Modules OpenMP · Windows 7
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Processing for print
I dunno. When I wrote that page, I thought the numbers were clearly wrong. But now they are not. 2e9 is a reasonable number for the mean, as 2^32 = 4e9. I'll remove the comment about it being wrong.
snibgo's IM pages: im.snibgo.com
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Processing for print
analyze.c was the original template example at http://www.imagemagick.org/script/archi ... hp#filters
Re: Processing for print
snibgo, it takes my PC much longer to build IM . Current errors:
...
Code: Select all
CC filters/filters_hellow_la-hellow.lo
filters/hellow.c: In function 'hellowImage':
filters/hellow.c:12:5: warning: unused variable 'image_info' [-Wunused-variable]
image_info;
^
CCLD filters/hellow.la
Code: Select all
make[1]: *** No rule to make target 'filters/onewhite.c', needed by 'filters/filters_onewhite_la-onewhite.lo'. Stop.
ImageMagick 7.0.7-25 Q16 x64 2018-03-04 · Cipher DPC HDRI Modules OpenMP · Windows 7
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Processing for print
Don't worry about warnings.afre wrote:warning: unused variable ...
If you haven't got a .c file (probably because I forgot to include it), remove all references to that module from makefile.am.afre wrote:target 'filters/onewhite.c'
snibgo's IM pages: im.snibgo.com
Re: Processing for print
Guess it wouldn't matter esp. since it's a hellow . BTW eqfish2rect.c onewhite.c segscanmerge.c sortlines.c don't exist. Any of them needed by your scripts? If not, I will remove their references, build and hope for the best .snibgo wrote:Don't worry about warnings.
ImageMagick 7.0.7-25 Q16 x64 2018-03-04 · Cipher DPC HDRI Modules OpenMP · Windows 7
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Processing for print
eqfish2rect.c segscanmerge.c sortlines.c aren't used in my scripts. I'll remove them from makefile.am.
onewhite.c is used by eqLimit.bat and nLightest.bat.
I've uploaded a new copy of the zip file, containing onewhite.c, to http://snibgo.com/imforums/imsnibgoBats.zip
onewhite.c is used by eqLimit.bat and nLightest.bat.
I've uploaded a new copy of the zip file, containing onewhite.c, to http://snibgo.com/imforums/imsnibgoBats.zip
snibgo's IM pages: im.snibgo.com
Re: Processing for print
Thanks. The makefile.am in your new zip file still contains entries for eqfish2rect.c segscanmerge.c sortlines.c but I'll remove them.
ImageMagick 7.0.7-25 Q16 x64 2018-03-04 · Cipher DPC HDRI Modules OpenMP · Windows 7
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Processing for print
Yeah, I created that new version of the zip especially for you, because I (accidentally) hadn't published the source to onewhite.c. I have to think more carefully about the superfluous entries in makefile.am, but you can easily remove those for yourself.
snibgo's IM pages: im.snibgo.com
Re: Processing for print
Which package does chklist.h come from?
Edit: found it here: do I place it in filters?
Code: Select all
CC filters/filters_geodist_la-geodist.lo
filters/geodist.c:9:21: fatal error: chklist.h: No such file or directory
#include "chklist.h"
^
compilation terminated.
Makefile:9118: recipe for target 'filters/filters_geodist_la-geodist.lo' failed
make[1]: *** [filters/filters_geodist_la-geodist.lo] Error 1
ImageMagick 7.0.7-25 Q16 x64 2018-03-04 · Cipher DPC HDRI Modules OpenMP · Windows 7
Re: Processing for print
snibgo: Good news. It took me a while to get there but, after some attempts, this thread and a series of tweaks, eqLimit finally works for me .
ImageMagick 7.0.7-25 Q16 x64 2018-03-04 · Cipher DPC HDRI Modules OpenMP · Windows 7