09-13-2005 07:53 AM
status = imaqOverlayText(imageOut, partCenter, "Hey There", &(IMAQ_RGB_RED), &options, NULL);
status = imaqDisplayImage(imageOut, 0, TRUE);
strcpy(filename, partName);
strcat(filename, "after.png");
//imaqWriteFile(imageOut, filename, &IMAQ_RGB_WHITE);status = imaqWritePNGFile(imageOut, filename, 1000, &IMAQ_RGB_WHITE);
I have tried to change the output image to a .bmp or a .jpg, neither of those types show the overlay text either.
Is the overlay text hidden in some layer that doesn't write to disk?
09-13-2005 10:15 AM
09-13-2005 11:15 AM
09-13-2005 12:13 PM
Greg,
I took a look around the library and help files for imaqMergeOverlay() function. It doesn't exist!?! Following are the overlay functions available to me.
| Class | LabWindows/CVI Equivalent | Function Name |
| Overlay | Clear Overlay | imaqClearOverlay |
| Overlay | Copy Overlay | imaqCopyOverlay |
| Overlay | Overlay Arc | imaqOverlayArc |
| Overlay | Overlay Closed Contour | imaqOverlayClosedContour |
| Overlay | Overlay Line | imaqOverlayLine |
| Overlay | Overlay Metafile | imaqOverlayMetafile |
| Overlay | Overlay Open Contour | imaqOverlayOpenContour |
| Overlay | Overlay Oval | imaqOverlayOval |
| Overlay | Overlay Points | imaqOverlayPoints |
| Overlay | Overlay Rect | imaqOverlayRect |
| Overlay | Overlay ROI | imaqOverlayROI |
| Overlay | Overlay Text | imaqOverlayText |
09-13-2005 12:16 PM
Greg,
I am using May 2001 Edition. Part Number 370379A-01.
09-13-2005 12:17 PM
09-13-2005 02:22 PM