Did a lot of wresting. Looks like I got the hard part done. The hard being, for me, simply getting an image to load and being able to query for things. Now...
Hi all, I got stuck in trying to let the following work properly. I have meanwhile many chunks of working code, but none can combine all demands. I would ...
Hi all (again), It looks like writing works a bit as a therapy? I adapted the Boolean in the ForEveryTile handler: no more gaps in the graph, all works fine! ...
Hi Paul, You can use the glabal variables i0 to i9, j0 to j9, k0 to k9 etc. to pass data between handlers. You can also pass larger amounts of data between ...
Hi Harry, Thanks for reply anyway. As I wrote immediately after my "cry for help", the problem is meanwhile solved by simply adapting the Boolean in the ...
Paul, You can also make multiple passes through the image in the ForEveryTile handler, so you may not even need to use the ForEveryPixel handler. Regards,...
Hi Bill, Thanks for the follow up. Yes I tried, but probably not in the correct way. I installed a pseudo loop in front, of only the kernel involved, but got ...
Harald, I get bad results in pretty much all my major plug-ins. a.. Ownerdraws that are not drawn at all or drawn severly messed up. Seems like setPixel is...
Hi Paul Yes, I have asked for a "InitialScan" handler the past many years. We need a handler that can go through the entire image (at a customizable downscaled...
Harry, Latest version fixes this. Thanks, RON C setCtlToolTip ( ij, str9, TTF_CENTERTIP ); generates the following with AfhFMBeta9d.8bf . Seems that only 0...
At present, FM has certained DEFINED variables like CTL_OK. Can this option, I know it is a pre-processor type option, be made available in one of the next...
Jan, This can be programmed in the FET handler now. You can choose the increment between pixels in the code such that large images are sampled on a larger...
Thanks Bill, I 've just read. Regards, Paul _____ From: FMML@yahoogroups.com [mailto:FMML@yahoogroups.com] On Behalf Of Bill MacBeth Sent: maandag 2 februari...
Jan, That doesn't seem to be the case if you do not set any of the tiling variables. I believe FM gets the full image from the host in that case. This would...
Bill, Yes, exactly. I want to process huge images in tiles. So processing in tiles is a must. What you recommend is processing the image as one tile. Then...
... Yep, in the latest FM releases supporting the FML language, you can have global variables. So it is possible to put something like: int MY_NEW_CONTROL =...
... Just for extra clarity - I put something like: const int MY_NEW_CONTROL = 134; and that goes after the Dialog / Embed / FilterCaseInfo definitions, but...
Kohan, I've used CTL[MY_NEW_CONTROL] for a while now with AfhFMBeta9d.8bf . int MY_NEW_CONTROL = 134; sets that variable to 134 but you can't use switch with...
... Jan, More reason to implement true tiling (per the Photoshop SDK) which permits the input tile, output tile, and mask tile to be separately defined with...
Jan, What about setting isTileable = true and bandWidth = larger of width and height for processing the entire file? Then reset bandWidth to 100 or 200. How...
Harry, problems seem to occur after loading/compiling a new source after having compiled another one in the same session of FM developing. After shutting down...
Hi, Sorry, but I need more details and not such general statements. What problems occur after loading/compiling a new source? What do you mean with "no...
Hi Ron, Your suggestion would only work if OnFilterStart and ForEveryTile would be run twice, because you need to set bandWidth in OnFilterStart. x/y_start and...
Hi, one thing I have reproduced now is the following: In the OnCtl(n) handler the following code is no longer executed, when on right-click in the preview....
Another phenomenon (perhaps all caused by the same bug): Again after having loaded source when I have previously worked on a different source. Clicking on a...
Barebones, no-comment, no-indenting example of using DevIL.dll in FM to load an image. http://openil.sourceforge.net/ I have DevIL in my filter directory and...