[MBS] RAWSocketMBS Error Event

2023-03-05 Thread Lee Badham
Hi, We've just been trying RAWSocketMBS as a replacement for TCPSocket because we are having socket/thread problems. So far, so good creating a standard TCP socket, but we've noticed the error event does not fire if the socket disconnects. We can see there an error number, but no event. Is th

Re: [MBS] SSL certificate verification

2022-04-05 Thread Lee Badham
Hi, I just realised I had added somer extra a code to the example trying to find the same value as the openssl command dim pk as PKeyMBS = PKeyMBS.Open(sk) d.Value("Private Key Hash")=MD5StringMBS(pk.PrivateKey) d.Value("Certificate Hash")=MD5StringMBS(p.PublicKey) So neither is the right valu

[MBS] SSL certificate verification

2022-04-04 Thread Lee Badham
Hi, I'd like to verify that a private key and certificate match. This works in command line: lee@iMac ~ % openssl rsa -noout -modulus -in /Users/lee/Desktop/SSL/server.key | openssl md5 9272d95d3750061ab7c11fa0d4f839a2 lee@iMac ~ % openssl x509 -noout -modulus -in /Users/lee/Desktop/SSL/server.

Re: [MBS] LeakFinder example

2021-05-07 Thread Lee Badham
Hi Christian, I have some(old) 2 dimensional arrays in my project which cause an OutOfBounds exception when running the LeakFinder. If I comment out, or use an If to check for a classname of "Object(,)", which seems to be the type, the application just quits. I'm not sure if the arrays are th

[MBS] LeakFinder example

2021-05-07 Thread Lee Badham
Hi, When I run the LeakFinder example I get the following IllegalCastException error: 'Delegate cannot be cast to LeakObject' I can stop the error by changing the clear code to for i as integer = Objects.KeyCount-1 downto 0 dim v as variant = objects.Value(objects.Key(i)) if v isa LeakObje

Re: [MBS] RGB Channels swopped for DynaPDF.InsertImage for images with a mask/alpha channel

2021-05-04 Thread Lee Badham
Hi, It seems to be related to using pdf.InsertPicture(picture, picture.mask,x,y,w,h) If I just use pdf.InsertPicture(pictures,y,w,h) even though the picture has a mask it works fine. The documentation says not to do this, so I've essentially flattened the image and removed the mask before inse

[MBS] RGB Channels swopped for DynaPDF.InsertImage for images with a mask/alpha channel

2021-05-04 Thread Lee Badham
Hi, I have a strange problem. If I create a picture with a Mask or Alpha channel and use pdf.insertimage(picture) the PDF created has the Red and Blue channels swopped. It doesn't seem to happen on every computer which is very weird. If I remove the mask using picture.copypicturewithoutmaskMBS

Re: [MBS] RegexMBS execute count

2021-02-12 Thread Lee Badham
Hi, Sorry, It's probably my fault as I was using an 'else' statement for the count before, rather explicit r.execute values of 2/3. Regards, Lee > On 12 Feb 2021, at 12:27, Lee Badham wrote: > > Hi, > > I've noticed that the value returned from RegexMBS

[MBS] RegexMBS execute count

2021-02-12 Thread Lee Badham
Hi, I've noticed that the value returned from RegexMBS.execute seems to be a different number (1 larger) than we used to get pattern is "^bdstart\t(.+)\t(.+)\tbdend$" which is (and has always) matched a full line of bdstart{TAB}COMMAND{TAB}VALUE{TAB}bdend{EOL} I'm sure previously we got a r.ex

[MBS] RegistryMBS

2021-01-26 Thread Lee Badham
Hi, (resent to list..., not support, sorry) We have a some data in the registry such as this: It should just contain a number. dim r as new RegistryMBS //server port dim key as string = "HKEY_LOCAL_MACHINE\SOFTWARE\"+app.appname dim value as string = ReplaceAllB(r.getStringValue(key,"Server D

Re: [MBS] LCMS2ProfileMBS 20.1

2021-01-20 Thread Lee Badham
'Profile Info' example crashes too. Crashes on this line list.AddRow "Name", p.name Regards, Lee > Hi, > > Sorry, another problem today > > Using a (previously working) ICC profile I'm now getting a crash in the > application (with no error message) when either loading a property from t

[MBS] LCMS2ProfileMBS 20.1

2021-01-20 Thread Lee Badham
Hi, Sorry, another problem today Using a (previously working) ICC profile I'm now getting a crash in the application (with no error message) when either loading a property from the profile, or looking at the profile properties in the IDE. dim pd as string = me.profile.description dim pn as

Re: [MBS] MacUSBNotificationMBS

2021-01-20 Thread Lee Badham
Ahh, just seen the MBS 20.6 blog, so I need to update to 21.0 Rightyo Regards, Lee > The error is with Xojo 2020r2.1 and MBS 20.5 > > >> >> Hi, >> >> We can't seem to get MacUSBNotificationMBS working any more. Notifications >> are never sent. The example 'Mac USB Notification' doesn't sho

Re: [MBS] MacUSBNotificationMBS

2021-01-20 Thread Lee Badham
The error is with Xojo 2020r2.1 and MBS 20.5 > > Hi, > > We can't seem to get MacUSBNotificationMBS working any more. Notifications > are never sent. The example 'Mac USB Notification' doesn't show any USB > devices either. > > Nothing is shown at the launch, nor if we plug or unplug a USB d

[MBS] MacUSBNotificationMBS

2021-01-20 Thread Lee Badham
Hi, We can't seem to get MacUSBNotificationMBS working any more. Notifications are never sent. The example 'Mac USB Notification' doesn't show any USB devices either. Nothing is shown at the launch, nor if we plug or unplug a USB device. The same is if it's run from the IDE, or built (With USB

[MBS] Verity Certificate and private key

2020-11-17 Thread Lee Badham
Hi, Is it possible to verify a SSL certificate and private key? I can open the certificate and verify it's a valid certificate and get the common name. dim x as X509MBS = X509MBS.Open(s) How can I verify the private key is linked to the certificate? Online I've found these: $ openssl pkey -i

Re: [MBS] BuildRecordSetMBS

2020-10-26 Thread Lee Badham
Hi Christian, I get an OutOfmemoryException is I try and fill a recordset with Fieldnames, but and empty FleldValues array Regards, Lee > On 26 Oct 2020, at 17:48, Christian Schmitz > wrote: > > > >> Am 26.10.2020 um 17:46 schrieb Lee Badham : >> >> Hi

[MBS] BuildRecordSetMBS

2020-10-26 Thread Lee Badham
Hi, Is it possible to create a recordset with a record count of zero? i.e. rs = BuildRecordSetMBS(something) if rs.recordcount >0 then //do stuff else //do other stuff end if Regards, Lee ___ mbsplugins@monkeybreadsoftware.info mailing list %(list

Re: [MBS] HASP loadlibrary code signing problem

2020-03-19 Thread Lee Badham
Hi, Hmm, same problem when using the HASP HL Dynamic RealBasic Sample example app and using App Wrapper to sign it. It works before wrapping, but not after ("Failed to load library.") {FIX!} Use 'Disable Library Validation' option in App Wrapper. So now I'll add that into an entitlement when

[MBS] HASP loadlibrary code signing problem

2020-03-19 Thread Lee Badham
Hi, We have a command line service which uses the HASP libraries dim file as folderitem = app.ExecutableFile.Parent.Child(filename) if file<>nil then app.debugmessage(file.NativePath+" "+str(file.Exists)) else app.debugmessage("HASP File is NIL") end if dim ok as boolean = HASPHLDMBS.LoadLi

[MBS] openaspngmbs nil on linux

2019-08-09 Thread Lee Badham
Hi, Any idea why pngtemp=f.OpenAsPNGMBS(0) would return nil but picture.open(f) would load a png The 'PNG Test' example has the same problem. It works when remote debugging from a linux machine to a windows machine, but not on itself. I seem to be having various graphic problems on a linux

Re: [MBS] ChartDirector hot spots

2019-05-08 Thread Lee Badham
X*rs, Y*rs) Regards, Lee Badham Bodoni Systems Ltd > Hi, > > Is it possible to get hotspot information from a 3D scattergraph? > > I get what seems to be a valid string > > dim ImageMapString as string = c.getHTMLImageMap("myurl") > me.ImageMapHandl

[MBS] ChartDirector hot spots

2019-05-08 Thread Lee Badham
as integer = ImageMapHandler.getHotSpot(X, Y) Always gives me 0. Regards, Lee Badham Bodoni Systems Ltd ___ Mbsplugins_monkeybreadsoftware.info mailing list mbsplugins@monkeybreadsoftware.info https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

[MBS] ChartDirector interpolation

2019-01-03 Thread Lee Badham
Hi, If I create a smooth line chart from an arbitrary number points and I able to request the values between those points? If I have these values X 0 Y 0 X 50 Y 20 X 100 Y 0 Am i able to ask what the Y value is when X is 80? Cheers, Lee ___ Mbspl

Re: [MBS] Chartdirector with Chinese, Japanese and Korean

2018-12-24 Thread Lee Badham
Hi, We Use the Noto fonts from Google. There is a Noto Sans for western languages and a Noto Sans CJK for Chinese, Japanese and Korean. We make a 1 page PDF with the text in it (DynaPDFMBS) and test with TestGlyphs with Noto Sans as the font and if it fails, then use NotoSans CJK. We have user

Re: [MBS] Overlay Plugin

2018-12-17 Thread Lee Badham
Hi Christian, Yep, works great. Cheers, Lee > On 13 Dec 2018, at 17:47, Christian Schmitz > wrote: > > > >> Am 12.12.2018 um 17:36 schrieb Lee Badham : >> >> Hi, >> >> I can't get any overlay windows to display when compiling to 64 bit

[MBS] Overlay Plugin

2018-12-12 Thread Lee Badham
Hi, I can't get any overlay windows to display when compiling to 64 bit Mac. None of the examples work. 32 Bit on Mac is OK and 64 bit on Windows 10 is OK. I use Xojo2018r4 and 10.14 Mojave. Any ideas? Regards, Lee ___ Mbsplugins_monkeybreadsoftwar

Re: [MBS] DynaPDF Noto fonts

2017-12-15 Thread Lee Badham
pgrading to the latest DynaPDF should solve > the problem. > > Kev > >> On 14 Dec 2017, at 16:59, Lee Badham wrote: >> >> Hi, >> >> Anyone had any luck using the Google Noto fonts with DynaPDFMBS? >> >> We are getting an Error 193 SetFont: &

[MBS] DynaPDF Noto fonts

2017-12-14 Thread Lee Badham
Hi, Anyone had any luck using the Google Noto fonts with DynaPDFMBS? We are getting an Error 193 SetFont: 'Error reading font!' trying to use them call pdf.SetFont "Noto Sans CJK SC Regular", pdf.kfsRegular, 20.0, true, pdf.kcpUnicode I've tried various iteration of the name and style and I ei

[MBS] Filter

2017-08-22 Thread Lee Badham
Hi, Just a test to see if I've correctly reset my overzealous spam filter... Lee Regards, Lee Badham Bodoni Systems Ltd +44 (0)1923 220530 ___ Mbsplugins_monkeybreadsoftware.info mailing list mbsplugins@monkeybreadsoftware.info https:/

[MBS] EyeOne MBS Plugins

2017-07-27 Thread Lee Badham
Hi, It looks like the Eye One plugins were removed in MBS 17.1. Are they coming back? Regards, Lee Badham Bodoni Systems Ltd ___ Mbsplugins_monkeybreadsoftware.info mailing list mbsplugins@monkeybreadsoftware.info https://ml01.ispgateway.de/mailman

Re: [MBS] StdinMBS

2017-06-30 Thread Lee Badham
Hi, Actually, I'm just using the built in stdin.readline now because that doesn't seem to block threads. Xojo 2017r1.1 Regards, Lee Badham Bodoni Systems Ltd > On 29 Jun 2017, at 17:44, Lee Badham wrote: > > Hi, > > I'm trying to use StdinMBS in a conso

[MBS] StdinMBS

2017-06-29 Thread Lee Badham
','h','e','r','e' on new lines as it loops through the extra characters. I just want to be able to read in a full single line. How can I avoid this problem? Regards, Lee Badham Bodoni Systems Ltd _

Re: [MBS] HASPHLMBS and 64 bits

2017-05-10 Thread Lee Badham
Hi, You can download the new developer kit from https://sentinelcustomer.gemalto.com/sentineldownloads/ Using your master key you generate your own Frameworks(Mac) or dll(windwows) Regards, Lee Badham Bodoni Systems Ltd > On 10 May 2017, at 08:45, Christian Schmitz > wrote: >

[MBS] GraphicsMagick & LCMS2

2016-01-15 Thread Lee Badham
he readme I see that: LABColorspace = 14 (LAB colorspace not supported yet other than via lcms) What does this mean? Regards, Lee Badham Bodoni Systems Ltd ___ Mbsplugins_monkeybreadsoftware.info mailing list mbsplugins@monkeybreadsoftware.in

[MBS] GraphicsMagick profile

2015-12-10 Thread Lee Badham
C") Blobprofile( const std::string name_ ) const Regards, Lee Badham Bodoni Systems Ltd +44 (0)1923 220530 ___ Mbsplugins_monkeybreadsoftware.info mailing list mbsplugins@monkeybreadsoftware.info https://ml01.ispgateway.de/ma

Re: [MBS] LCMS2 Display RGB

2015-08-21 Thread Lee Badham
>nil then g.DrawPicture(self.fullpic,0,0) end if #endif In the paint event. self.fullpic is a fully colour managed picture already converted to the correct monitor RGB profile. Regards, Lee Badham Bodoni Systems Ltd > Hi, > > Is there a way of getting Xojo to display the cor

[MBS] LCMS2 Display RGB

2015-08-20 Thread Lee Badham
multiple monitors work? Regards, Lee Badham Bodoni Systems Ltd ___ Mbsplugins_monkeybreadsoftware.info mailing list mbsplugins@monkeybreadsoftware.info https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

[MBS] ImageMagick negate

2015-06-08 Thread Lee Badham
Hi, How do I invert an image I’m ImageMagick? The command line shows using the convert -negate or -levels switch, but I could not find an equivalent command in MBS. Regards, Lee Badham Bodoni Systems Ltd ___ Mbsplugins_monkeybreadsoftware.info

[MBS] HASPHL C2V and features

2015-03-17 Thread Lee Badham
NFKJDSNFKJEF LKSJDFLKSJDFKJSDFJSLDFJSJ The HaspHLMBS has SKLJDHFLKHFGKJSHFSHDGKLEW LJSDFHKLJHSDFGKHEFHKLJEFHL Any ideas? Regards, Lee Badham Bodoni Systems Ltd +44 (0

Re: [MBS] runtime error MBS 144pr10

2014-11-11 Thread Mr Lee Badham
Hi, I can’t help but think there is a common error here. The Imagemagick libraries do not run either. if i.LoadLibrary("CORE_RL_magick_.dll") then I’ve tried it on a couple of VMs, (winXP and Win7) with the same error Xojo 2014r2.1 Regards, Lee Badham Bodoni Systems Ltd +44 (0)1

Re: [MBS] runtime error MBS 144pr10

2014-11-11 Thread Mr Lee Badham
HI, I created a new desktop app with only one line dim l as boolean = EyeOnePro4MBS.LoadLibrary(app.ExecutableFile.Parent.Child("i1Pro.dll")) and get the same error. Caches cleaned. PC only. Regards, Lee Badham Bodoni Systems Ltd +44 (0)1923 220530 On 11 Nov 2014, at 13:

Re: [MBS] runtime error MBS 144pr10

2014-11-11 Thread Mr Lee Badham
. Regards, Lee Badham Bodoni Systems Ltd +44 (0)1923 220530 On 11 Nov 2014, at 13:21, Christian Schmitz wrote: > > Am 11.11.2014 um 14:18 schrieb Mr Lee Badham : > >> Hi, >> >> Another PC only Runtime error on launch >> > > the runtime error is before

Re: [MBS] runtime error MBS 144pr10

2014-11-11 Thread Mr Lee Badham
Hi, Another PC only Runtime error on launch librarysuccess=EyeOnePro4MBS.LoadLibrary(f) Mac is fine and f points to the 4.2.0 dll (verified not nil and exists) I’m in the process of checking that the ImageMagick dll loads ok. Regards, Lee Badham Bodoni Systems Ltd +44 (0)1923 220530 On

Re: [MBS] runtime error MBS 144pr10

2014-11-11 Thread Mr Lee Badham
HI, It used to work (even though it was wrong) and now we get a runtime error. Using a memoryblock is fine though for us. Regards, Lee Badham Bodoni Systems Ltd +44 (0)1923 220530 On 11 Nov 2014, at 12:21, Christian Schmitz wrote: > > Am 11.11.2014 um 12:57 schrieb Mr Lee

Re: [MBS] runtime error MBS 144pr10

2014-11-11 Thread Mr Lee Badham
Hi, I’ve tracked the err on launch We used to use: Dim a as new AESMBS call a.setkey(“”) But this now causes a crash on launch I’ve now changed the code to: dim key_mb as new MemoryBlock(16) call a.SetKey(key_mb,128) Which works ok. Regards, Lee Badham Bodoni Systems Ltd +44 (0

Re: [MBS] runtime error MBS 144pr10

2014-11-11 Thread Mr Lee Badham
Hi, The crash also happens when from running from the IDE. I’ve reset the cache, but the error is still there. I’m currently stepping through the code so see where it fails. Regards, Lee Badham Bodoni Systems Ltd +44 (0)1923 220530 On 11 Nov 2014, at 10:44, Christian Schmitz wrote

[MBS] runtime error MBS 144pr10

2014-11-11 Thread Mr Lee Badham
Picture_pictureScale PNG Regex Util Calls Util Math Util String Util SystemInformation Looks like I need to use a #target for the mac ones as well though. I tried the MBS login web example and that worked ok. Regards, Lee Badham Bodoni Systems Ltd +44 (0)1923 220530

Re: [MBS] [ANN] 14.4pr9

2014-11-06 Thread Mr Lee Badham
C:\Program Files\imagemagick\\index.html ImageMagick Q16 Regards, Lee Badham Bodoni Systems Ltd +44 (0)1923 220530 > Hi, > > If I use > > if ImageMagickQ16MBS.LoadLibraryFile(folder.child("CORE_RL_magick_.dll")) then > > I don’t get a crash (but I get

Re: [MBS] [ANN] 14.4pr9

2014-11-06 Thread Mr Lee Badham
e IDE, but not when built. SetCurrentDirectory always succeeds. Regards, Lee Badham Bodoni Systems Ltd +44 (0)1923 220530 > Hi, > > I can’t get the new plugin to load the DLL properly. I get a ‘Application not > responding’ followed by return to the IDE. > > Stepping

Re: [MBS] [ANN] 14.4pr9

2014-11-06 Thread Mr Lee Badham
Hi, I don’t get any plugin error now, thanks a lot Regards, Lee Badham Bodoni Systems Ltd +44 (0)1923 220530 On 5 Nov 2014, at 17:29, Christian Schmitz wrote: > > Am 05.11.2014 um 17:29 schrieb Mr Lee Badham : > >> Hi, >> >> When I try to compile several pr

Re: [MBS] [ANN] 14.4pr9

2014-11-06 Thread Mr Lee Badham
if not ImageMagickQ16MBS.SetCurrentDirectory(folder) then Regards, Lee Badham Bodoni Systems Ltd +44 (0)1923 220530 On 5 Nov 2014, at 15:00, Christian Schmitz wrote: > Hi, > > * Fixed an issue with ImageMagick plugin LoadLibrary call for Windows. > * Updated Sparkle Plugin cla

Re: [MBS] [ANN] 14.4pr9

2014-11-05 Thread Mr Lee Badham
Type mismatch error. Expected Variant, but got HTMLViewer NSPrintOperationMBS One mac projct worked, andother web project did’t and the ‘LoadTest’ project got the same error too compiling for a remote debugging session. Regards, Lee Badham Bodoni Systems Ltd +44 (0)1923 220530 On 5

[MBS] MBS 144p8 Imagemagick

2014-11-05 Thread Mr Lee Badham
I’ve tried 6.8 as well with the same error. Mac loads ok. Regards, Lee Badham Bodoni Systems Ltd +44 (0)1923 220530 ___ Mbsplugins_monkeybreadsoftware.info mailing list mbsplugins@monkeybreadsoftware.info https://ml01.ispgateway.de/mailman/listinfo

[MBS] MBS Eye One

2014-10-23 Thread Mr Lee Badham
Hi, I’ve noticed that the latest MBS plugins still use the i1 SDK 4.0.4, where the latest is 4.2.0 and are not compatible. Are you planning on updating this? Regards, Lee Badham Bodoni Systems Ltd ___ Mbsplugins_monkeybreadsoftware.info mailing

Re: [MBS] Subclassing FSEventsMBS

2014-01-23 Thread Mr Lee Badham
Thanks a lot, I’ve just seen the same thing. Lee On 23 Jan 2014, at 11:03, Christian Schmitz wrote: > > Am 23.01.2014 um 11:51 schrieb Mr Lee Badham : > >> Hi I’m trying to subclass a FSEvents class so I can use the Callback event >> to talk to a timer. >>

Re: [MBS] Subclassing FSEventsMBS

2014-01-23 Thread Mr Lee Badham
A, Wrong parameter…. Don’t use FSEventsMBS.kFSEventStreamEventIdSinceNow But use FSEventsMBS.GetCurrentEventId Nothing wrong with the Constructor. Lee On 23 Jan 2014, at 10:51, Mr Lee Badham wrote: > Hi I’m trying to subclass a FSEvents class so I can use the Callback event

[MBS] Subclassing FSEventsMBS

2014-01-23 Thread Mr Lee Badham
Super.Constructor(argpath,FSEventsMBS.kFSEventStreamEventIdSinceNow,1,FSEventsMBS.kFSEventStreamCreateFlagNone) End Sub Not sure what’s wrong, any ideas? Regards, Lee Badham Bodoni Systems Ltd ___ Mbsplugins_monkeybreadsoftware.info mailing list

Re: [MBS] imagemagick and delegates

2013-07-09 Thread Mr Lee Badham
Ops, I meant -sOutputFile=out.tif for tiff32nc Lee On 9 Jul 2013, at 11:21, Mr Lee Badham wrote: > Hi, > > Directly on the command line: > > gs -q -dBATCH -dMaxBitmap=5000 -dNOPAUSE -sDEVICE=epswrite > -sOutputFile=out.eps -- mypdf.pdf -c quit > > Gives an eps fi

Re: [MBS] imagemagick and delegates

2013-07-09 Thread Mr Lee Badham
->eps->tif? I could just use the command line versions to convert, but I was just trying to keep all the import and conversions internal. Lee On 5 Jul 2013, at 16:01, Christian Schmitz wrote: > > Am 03.07.2013 um 10:19 schrieb Mr Lee Badham : > >> Hi Christian,

Re: [MBS] imagemagick and delegates

2013-07-03 Thread Mr Lee Badham
wrote: > > Am 01.07.2013 um 10:14 schrieb Mr Lee Badham : > >> Hi, >> >> The version being different had made a few things make sense as I was >> compressing the TIF file with compression = 8, which is zip in 6.2, but jpeg >> in 6.7 - which is not supp

Re: [MBS] imagemagick and delegates

2013-07-01 Thread Mr Lee Badham
Hi, The version being different had made a few things make sense as I was compressing the TIF file with compression = 8, which is zip in 6.2, but jpeg in 6.7 - which is not supported in 6.2. So I was compressing a file in Imagemagick on PC , which then could not be opened on the Mac….. I have

Re: [MBS] imagemagick and delegates

2013-06-28 Thread Mr Lee Badham
ook at the Imagemagick documentation' is no use is that is for version 6.8 which is different again…. Lee On 27 Jun 2013, at 16:56, Mr Lee Badham wrote: > Hi Christian, > > All seems to be ok on the PC side, but not the Mac. > > It's just trying to work out where the

Re: [MBS] imagemagick and delegates

2013-06-27 Thread Mr Lee Badham
Hi Christian, All seems to be ok on the PC side, but not the Mac. It's just trying to work out where the other files should go relative the the libmagick10.dylib file. Lee On 27 Jun 2013, at 13:10, Christian Schmitz wrote: > > Am 27.06.2013 um 10:27 schrieb Mr Lee Badham

Re: [MBS] imagemagick and delegates

2013-06-27 Thread Mr Lee Badham
I appear to be having a nice conversation with myself, lol So far selecting SOME eps files work. Most give a similar PostscriptDelegateFailed error. NO PDF files have worked so far. Lee On 27 Jun 2013, at 09:46, Mr Lee Badham wrote: > Sooo.. > > Putting all the xml files ne

Re: [MBS] imagemagick and delegates

2013-06-27 Thread Mr Lee Badham
Sooo.. Putting all the xml files next to the framework and using ImageMagickQ16MBS.SetCurrentDirectory(libf.parent) get me closer, but still an error: PostscriptDelegateFailed `/var/folders/g0/1t1p8rss4wsd1jvtjhykgk3wgn/T/magick-NPhASCbQ' Lee On 27 Jun 2013, at 09:30, Mr Lee B

Re: [MBS] imagemagick and delegates

2013-06-27 Thread Mr Lee Badham
Hi Further information… using the Imagemagick convert command line works. I have ghostscript installed and running the gs command converts the file. Lee On 27 Jun 2013, at 09:27, Mr Lee Badham wrote: > Hi, > > Can anyone help me with the folder structure need to get Imagemagi

[MBS] imagemagick and delegates

2013-06-27 Thread Mr Lee Badham
Hi, Can anyone help me with the folder structure need to get Imagemagick to run using the delegates? Specifically, the folder structure and what to use in ImageMagickQ16MBS.SetCurrentDirectory() im.InitializeMagick() I've tried setting the paths to the executable and the frameworks fo

Re: [MBS] Check and replacing non valid UTF8 characters

2013-02-13 Thread Lee Badham
urosciences > Hotchkiss Brain Institute > University of Calgary > tel (403) 210-8646 > --------- > ___ > Mbsplugins_monkeybreadsoftware.info mailing list > mbsplugins@monkeybreadsoftwa

Re: [MBS] Check and replacing non valid UTF8 characters

2013-02-12 Thread Lee Badham
eplace ($regex, '$1', $text); But I got stuck on the hex matching part. I found the re.CompileOptionUTF8=false which got it to match a hex character, I could not get a match with multiple characters. Regards Lee On 12 Feb 2013, at 12:51, Christian Schmitz wrote: > > Am 12.

Re: [MBS] Check and replacing non valid UTF8 characters

2013-02-12 Thread Lee Badham
More Info… To be clear, I want to keep as much of the original string as possible, so if most of the string is in Chinese (but valid UTF-8) that is ok. Some of the files I get have Various Chinese encodings and sometimes the universal parser gueses the encoding wrong. Lee Badham

[MBS] Check and replacing non valid UTF8 characters

2013-02-12 Thread Lee Badham
lt in Regex, or RegexMBS. if re.Compile("\xEF") then Does not find the hex value EF in the string, even though when I look at the byte of the string from the IDE it is there. What am I doing wrong? Lee Badham www.bodoni.

Re: [MBS] LCMS2 Performance

2013-01-28 Thread Lee Badham
Hi, Here's the link: http://www.presssign.com/downloads/presssign/lcms1_2.rbp.zip It shows a listbox with 3 calculations of the Lab value, and also the memory block values. Lee On 28 Jan 2013, at 12:25, Christian Schmitz wrote: > > Am 28.01.2013 um 13:24 schrieb

Re: [MBS] LCMS2 Performance

2013-01-28 Thread Lee Badham
A……. The numbers are different :( Converting a CMYK value to Lab value gives different numbers between LCMS1 and LCMS2 with the same transformation parameters, whether I use cmsFLAGS_NOOPTIMIZE or not. Anyone else found any difference? Lee On 24 Jan 2013, at 10:14, Lee Badham wrote

Re: [MBS] LCMS2 Performance

2013-01-24 Thread Lee Badham
Hi, So adding cmsFLAGS_NOOPTIMIZE to the transform makes it faster, so we are back into LCMS1 performance. Now I've got to check whether the calculations are good / fast enough Lee On 24 Jan 2013, at 10:10, Lee Badham wrote: > Hi, > > Same performance hit on MBS 12.5 and M

Re: [MBS] LCMS2 Performance

2013-01-24 Thread Lee Badham
Hi, So adding cmsFLAGS_NOOPTIMIZE to the transform makes it faster, so we are back into LCMS1 performance. Now I've got to check whether the calculations are good / fast enough Lee On 23 Jan 2013, at 17:08, Lee Badham wrote: > Hi, > > I've been updating an app to use

Re: [MBS] LCMS2 Performance

2013-01-24 Thread Lee Badham
Hi, Same performance hit on MBS 12.5 and MBS 13.1pr8, so LCMS 2.4 still has this problem. Lee On 23 Jan 2013, at 17:08, Lee Badham wrote: > Hi, > > I've been updating an app to use LCMS2, rather than LCMS1 and have a 2000% > performance drop using CreateTransfor

[MBS] LCMS2 Performance

2013-01-23 Thread Lee Badham
rm1101 0.004 0.403% Createlcms2transform101 0.1064 10.75 90% Total 23.15 193% What can I do about this? As I import colour information I create these transforms to calculate new colours so each transform is done many times. Lee Badham www.bo

Re: [MBS] MBS Frameworks and Installers on Mac

2012-11-26 Thread Lee Badham
ld you care to > tell me how you solved the problem? > > > Begin forwarded message: > >> From: Lee Badham >> Subject: [MBS] MBS Frameworks and Installers on Mac >> Date: 20. Januar 2011 10:49:27 MEZ >> To: MBS REALbasic Plugin List >> Reply-To: MB

[MBS] LCMS2 add profile tag

2012-10-03 Thread Lee Badham
Hi, I'm trying to work how to add a custom tag to an ICC profile. The included LCMS2 documentation describes using a plugin architecture, but I can't find an equivalent MBS function. I want to add a 'Info' tag of type ASCII text Regards, Lee Badham www.bodoni.co.uk

Re: [MBS] WE - DynaPDF and IOS

2012-09-12 Thread Lee Badham
.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info > > _______ > Mbsplugins_monkeybreadsoftware.info mailing list > mbsplugins@monkeybreadsoftware.info > https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.inf

Re: [MBS] Render CMYK PDF

2012-05-21 Thread Lee Badham
Badham wrote: > Hi, > > Is is possible to render a CMYK PDF to TIFF keeping the CMYK values? > > I've had a look at the PixFmt values, in DynaPDFRasterizerMBS but they list > only rgb of 1 bit types. > > Regards, > > Lee Badham >

[MBS] Render CMYK PDF

2012-05-21 Thread Lee Badham
Hi, Is is possible to render a CMYK PDF to TIFF keeping the CMYK values? I've had a look at the PixFmt values, in DynaPDFRasterizerMBS but they list only rgb of 1 bit types. Regards, Lee Badham www.bodoni.co.uk | www.presssig

Re: [MBS] Someone visiting Drupa exposition?

2012-04-23 Thread Lee Badham
t up with any who create apps for the graphic arts and printing industry. Lee Badham On 23 Apr 2012, at 07:57, Christian Schmitz wrote: > > Am 23.04.2012 um 06:43 schrieb Robin Lauryssen-Mitchell: > >> Drupa appears to be a trade show for the printing industry. Correct?

[MBS] Windows Server 2008 DLL problem

2012-03-22 Thread Lee Badham
, but don't know where to look Thanks Lee Badham www.bodoni.co.uk | www.presssign.com ___ Mbsplugins_monkeybreadsoftware.info mailing list mbsplugins@monkeybreadsoftware.info https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Re: [MBS] CGWindowMBS issue

2012-03-02 Thread Lee Badham
lp would > be appreciated. > > Thanks > > > ___ > Mbsplugins_monkeybreadsoftware.info mailing list > mbsplugins@monkeybreadsoftware.info > https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Re: [MBS] DynaPDF 3 Rasterise

2011-11-07 Thread Lee Badham
PEG 2000, or TIFF output > pxfBGR, // BMP > pxfRGBA, // BMP, PNG, TIFF > pxfBGRA, // BMP > pxfARGB, // Unsupported > pxfABGR, // Unsupported > pxfGrayA // Unsupported > }TPDFPixFormat; > > Regards > Thomas > > Original Message > Subject: [

[MBS] DynaPDF 3 Rasterise

2011-11-07 Thread Lee Badham
Can DynaPDF 3 rasterise a CMYK PDF? I can't see any constants that suggest that. Lee Badham t: 01923 220 530 www.bodoni.co.uk | www.presssign.com Bodoni Systems Ltd Unit 19 Orbital 25 Business Park Dwight Road Watford WD1

Re: [MBS] ThreadMBS

2011-08-15 Thread Lee Badham
Hmm I wonder If i can send that data directly via IPC though? Might check that out. Lee On 15 Aug 2011, at 09:34, Lee Badham wrote: > Hi, > > Unfortunately, I need fairly large amounts of data(1-5MB) to start the > calculations. > > I would have to save that data to a fi

Re: [MBS] ThreadMBS

2011-08-15 Thread Lee Badham
significantly. > > P. > > > On Thu, Aug 11, 2011 at 2:06 AM, Lee Badham wrote: > >> Hi, >> >> This is a shame as the processing world is moving to parallel processing >> using multiple cores, but really we should be looking towards Real providing >

Re: [MBS] ThreadMBS

2011-08-11 Thread Lee Badham
ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info Lee Badham t: 01923 220 530 | m: 07966 234 701 www.bodoni.co.uk | www.presssign.com Bodoni Systems Ltd Unit 19 Orbital 25 Business Park Dwight Road Watford WD18 9DA ___ Mbsplugins_monkeyb

Re: [MBS] ThreadMBS

2011-07-06 Thread Lee Badham
Makes debugging very difficult. > > P. > > > On Tue, Jul 5, 2011 at 1:56 AM, Lee Badham wrote: > >> I have a strange problem using ThreadMBS. >> >> Whenever I use Threads, after they finish (ThreadMBS.RunningThreads=0) I >> can no longer pause the

[MBS] ThreadMBS

2011-07-05 Thread Lee Badham
0r4.1, RB2009r4 MBS 10.5 I'm sure it USED to work though, so I'm not sure what I need to do. In the work thread I'm using #pragma DisableAutoWaitCursor #pragma DisableBackgroundTasks #pragma DisableBoundsChecking #pragma StackOverflowChecking false No pragmas anywhere

Re: [MBS] Someone using ThreadMBS?

2011-05-22 Thread Lee Badham
Hi, I use it to do some parallel processing of some data. In 1 app 1 spawn 3 Threads, in another I spawn 10. At one point I had to turn this off, and the calculation time went from 20 seconds to 1 minute. Lee On 20 May 2011, at 17:43, Christian Schmitz wrote: > > Am 20.05.2011 um 17:11 schr