Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.

MattCrozier

About

Username
MattCrozier
Joined
Visits
1,998
Last Active
Roles
Member

Comments

  • Yes, we have implemented our web service as UTF-8. It calls many supporting routines from the OI application which is set to run in UTF-8 mode, thus those routines assume UTF-8 unless otherwise stated. Likewise, we've to patched HTTP_MCP to turn o…
  • always make sure that the Content-Type request header has an appropriate value (e.g., application/json or text/plain) I'm not sure if this helps here, but I've found that we need to set 'charset=utf-8' in the Content-Type response header for our s…
  • Hi Don - gosh no, I didn't realize that! Probably because I've been working off simple examples rather than going back to the docs ;). I think this would go a long way in most situations. For my case, I need to do something like GETVALUE 'menu.i…
  • Well, I have some good news! Thanks to your mention of GDI stuff, I just tried resetting the ResizeUsingGDIPlus property on the control to zero and now these images display :). Cheers, M@
  • Oh no, I can just see Don rolling his eyes - those dang-fangled stopwatch names! Great job on finding that culprit though! :)
  • Mark - I'm curious you are using OR (;) overrides in your search criteria for values in the same index. Is there any reason why you don't just list the customer values in the one index search on CUSTOMER? CUSTOMER²EBL²EBL-PERM²EBL-KNOWLES15²EBL-KN…
  • Interesting thought, Barry! We've deployed ImageMagick v7.0.1, but aren't using magick.exe . Looks like they've consolidated the command line tools into one (a la SRP_Array ;). Cheers, M@
  • Hi Kevin, It's happening on multiple workstations, but only at this site - that's the puzzling thing! Also that it's not clear exactly where this crash is happening. I need to think up some isolation tests. Eg, batch calls to ImageMagick outside …
  • Resizing with convert.exe's -thumbnail -auto-orient -background white -flatten options, and converting to BMPs. I would have thought that with each call being a separate Windows process (conhost.exe), Windows would be tidying up nicely after each …
  • Hi Mark, There are about 20 sites (about 70 desktops) currently running the latest version of our software, all using ImageMagick the same way. Only one site getting this problem though. I had a look at Imgman but had some problems with it. Ima…
  • Nice! I've tried both of these plus various other scenarios and all is good. This streamlines quick one-off benchmarks just a tad ;) Thanks Don!
  • Ha - who'd've thought! ;). Can I be really lazy and ask that I'm just timing one block of code, that the stopwatch name be optional (perhaps defaulted internally) ? ;)
  • Hmm, I seem to be getting a VNAV crash on the ShowAll service, line 253. This is with SRP Utilities versions 1.5.7 and 1.5.8. My test is very simple: call srp_stopwatch('Reset') call srp_stopwatch('Start','t') call delay( 4) call srp_stopwatch(…
  • Or perhaps another key word in the precompiler? Something like For Each NonNull Value in Field setting I // Do stuff with Value Next Value
  • There have been cases in the past where we have had to provide customers with a replacement oengine.dll . We would tell them to first rename oengine.dll to something else before copying in the new file. Unfortunately some of them renamed oengine.e…
  • Barry - do you mean the TRACKINGSIZE property? Martyn blogged about this recently.
  • "fix" the image on-the-fly using the meta data via the command line tool that Kevin referenced. That way you wouldn't have to bother the user . Ah, I see! Yes, maybe. In some cases the images themselves aren't really 'ours' to fix (picky art mus…
  • If it helps, Matt, you can examine the meta data for a JPG using the SRP Picture Control's GetMetaData method. Hmm - yeap, I suppose I could use that to give a visual cue beside the picture. Thanks!
  • I agree with you there, Kevin! It's just created inconsistencies everywhere. For instance, Explorer and OIPI treat images differently. So if you're including images in OIPI reports, should you're application windows be consistent with Explorer, o…
  • Cool! You get to use it before I do and saves me some testing ;) Cheers, M@
  • Well, here's my attempt ;). I think you'd need to obtain the whole AMv first, then update the ItemRec. It should work for both AMv sets and single MV fields. Begin Case Case JSONType _EQC 'Array' // Count the number of members in the array t…
  • Ah right - I've only considered the GET at this stage too. POST is another beast altogether ;). Anyway, I've sent you what I've done FYI. Cheers, M@
  • Barry - I've already had a go at this. The added code to HTTP_JSON_Services() to do the work. Let me know if you're interested - I'll pass it on. Cheers, M@
  • Great - thanks! That fixes all my cases. You can sleep easy ;). Cheers, M@
  • Eeks! Well, the good news is that Orientation 1 now shows normally :). The bad news is that Orientation 6 (Rotate 90 CW) is now showing upside down! Have to laugh :) Cheers, M@
  • Hi Kevin, Ok - I've now got SRPcontrols v4.0.2.0 and rotated images are now showing the correct vertical orientation in SRP Picture control. However - I'm finding that images that explicitly have an Orientation tag of 'Horizontal (normal)' (value…
  • Oh, gees! I can see this cleverness ultimately causing confusion when our application exports derivatives of images for use by other applications, which may or may not support this feature. Would there be properties in the new SRPcontrols to exa…
  • Yes, I SetUTF8( 1) in HTTP_MCP(), actually. Everything seems hunky-dory in UTF8 right up to return Response in HTTP_MCP().
  • Hi Don, Yes, I couldn't figure out why OECGI appeared to be working in UTF8 mode for you and not me - maybe there are some OECGI settings I'm missing, like a specific UTF8 port number (you may have seen my last posting on the Rev forum to Bryan). …