Sdk Posted January 25, 2016 Share Posted January 25, 2016 HI, With win paint I am modifying a conveyor image from the Symbol Library (i.e. to simulate an inclined conveyor). Then I save the file. After that I import the above file in the Symbol Library and I paste the image on my HMI. By evaluating an expression, I change the color of the inclined conveyor (from black to green). I am facing the following problem: when the expression is true, the inclined conveyor becomes green but the background of the image becomes white covering in that way other images nearby. The problem does not exist when i am using images (inclined conveyors) from DAQFactory Symbol Library. How can I modify images from the Symbol Library and use them on my HMI? Thanks Sdk Quote Link to comment Share on other sites More sharing options...
AzeoTech Posted January 25, 2016 Share Posted January 25, 2016 That's because the symbols in the symbol library are not bitmap images, but vector graphics. DAQFactory doesn't support transparent in bitmaps. You have two choices: 1) use the symbol directly. If all you want to do is incline it, why not just set the rotation parameter in the symbol component? It will rotate it for you. 2) export the symbol as a WMF, then edit it with a WMF editor instead of Paint. Illustrator sometimes works as a WMF editor, though I'm not sure about support in the latest releases. There are other WMF editors on the web for a lot cheaper or free. WMF is a vector file format. Quote Link to comment Share on other sites More sharing options...
bms Posted July 29, 2021 Share Posted July 29, 2021 Is there a way to import vector graphics directly, or do you have to go via the symbol factory? Quote Link to comment Share on other sites More sharing options...
AzeoTech Posted July 29, 2021 Share Posted July 29, 2021 You can, technically, paste a WMF graphic directly into DAQFactory. The problem is that many applications, such as Illustrator, will put both the vector and a bitmap representation in the clipboard, and DAQFactory will prioritize the bitmap. As such, you'll need to find a WMF editor to run your vector graphic through, opening it in that program, then copying it to the clipboard and pasting into DAQFactory. We will be enhancing vector support with SVG in a future release. Quote Link to comment Share on other sites More sharing options...
bms Posted July 29, 2021 Share Posted July 29, 2021 +1 for SVG, that would be great. I'm not having any luck getting WMF directly into the symbol component, either from the clipboard, or using the load image button. Is it supported? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.