I don't think the .scr extension is used outside of script files (see IpBasic). Outlines will be saved in script files occasionally - when you record a free form AOI for instance - but I doubt that's what you're looking for.
Objects outlines are also saved in .scl files, which are a binary representation of the objects that's used as the basis for storing objects shapes in IPP. I wouldn't recommend trying to interpret these files. They're very complicated and likely to change in future versions.
Outlines can also be saved in text form (*.txt), but you can't read those back in.
A fourth type of files are the .out kind. They're used in blob and in manual measurements. I think the format is public and should be documented somewhere in some IPP doc. It's a binary format. It starts with a signature and a version number, then comes the number of objects, followed by the number of points in the first object, followed by the list of points (x,y pairs), followed by the number of points of the second object, and so on. It follows pretty much the format used in the *.txt form.
Jean-Paul Martin
-----Original Message-----
From: Michael Plonski [mailto:mplonski@home.com]
Sent: Monday, December 03, 2001 9:47 AM
To: imagepro-users@lists.mediacy.com
Subject: ImagePro>format for binary and scr outlines
Is the format for binary and scr outlines that are saved to a file
documented somewhere.
The text format version can't be read back in. I would like to pick up the
outlines with a C-routine and modify them and then read them back in. Right
now I can pass the outlines to a C-routine directly using the SDK via the
BlbGet, but I don't know how to get them back into image pro after I modify
them. I need to save this modified outlines off as a set of outlines that
can be reloaded from file. I either need to be able to generate the outline
files directly from C or pass them back to image pro via the SDK so that it
can save them as binary.
My plan at the moment is to pass back an area of interest - which you can
then convert into an outline (BlbFromAOI), but this only does on outline at
a time.
It also seems that the SDK only allows one to load binary files and not scr
files. What is the scr format for outline data used for?? When I looked at
one it was just binary data.
any thoughts would be appreciated.
Mike Plonski
***********************************************************
Need an Image-Pro macro or driver? Find it at http://www.Solutions-Zone.com
Got an Image-Pro macro or driver? Add it to http://www.Solutions-Zone.com
***********************************************************
This message is sent to you because you are subscribed to <imagepro-users@lists.mediacy.com>.
To unsubscribe, email to: <imagepro-users-off@lists.mediacy.com>
To switch to the DIGEST mode, email to <imagepro-users-digest@lists.mediacy.com>
To switch to the INDEX mode, email to <imagepro-users-index@lists.mediacy.com>
Send administrative queries to <imagepro-users-request@lists.mediacy.com>
To subscribe or unsubscribe visit http://www.solutions-zone.com/ipednld/subscriber.asp