Vector graphics, again
This second version works better because includes a transparent background rectangle that effectively corrects the border cropping problem from first version: On Sat, Sep 9, 2017 at 4:52 PM, Alejandro Tejada wrote: > Hi Richmond, > > I posted 2 files (1-SVG file 2-LiveCode v8 stack) and > code in the forum: > > http://forums.livecode.com/viewtopic.php?f=6&t=29737&p=158014#p158014 > > [SNIP] > > If you notice a few glitches, like cropped borders, please contact the > creators of MultiColor SVG widget or edit the original svg file and make > smaller all shapes. > > Have a nice weekend! > > Al > ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Vector graphics, again
Hi Richmond, I posted 2 files (1-SVG file 2-LiveCode v8 stack) and code in the forum: http://forums.livecode.com/viewtopic.php?f=6&t=29737&p=158014#p158014 Just create a new MultiColor SVG widget and paste this: If you notice a few glitches, like cropped borders, please contact the creators of MultiColor SVG widget or edit the original svg file and make smaller all shapes. Have a nice weekend! Al ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Vector graphics, again
http://forums.livecode.com/viewtopic.php?f=6&t=29737 a picture is worth a thousand words. Richmond. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Vector graphics, again
Hi Richmond, Download this really old stack: http://andregarzia.on-rev.com/alejandro/stacks/exportVector_v03.zip Open the stack exportVector_v03, erase all vector graphics and paste your vector graphics. Then, select from SVG, PDF or Adobe Ilustrator and click: Export Post in Google Drive or Dropbox your results or paste them in the forum. Could this handler still be useful after so many years? Al ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Vector graphics, again
I looked into this a few years ago for a project - just converting images into SVG. It is a very difficult problem to do in LC, because the application has to trace out lines and convert them to vectors. This is not too bad for very simple black and white images. When the images involve complex shapes and lots of colors, the resulting SVG files can be very large, with many many paths. So, you could take a snapshot of a group to get an image file, then submit the image file to one of the online raster-to-vector converters. The resulting SVG may or may not be adequate, and may or may not work well in LC, but seems worth trying. Sent from my iPhone > On Sep 8, 2017, at 5:55 AM, Richmond via use-livecode > wrote: > > Not really . . . . > > What Richmond wants to do is as follows: > > Generate vector graphics from groups of images and/or fields in Livecode in > such > a way thst they can be handled exactly in the same way as the SVG widget > (which > Richmond is in love with). > > R. > >> On 08/09/17 00:25, hh via use-livecode wrote: >> Jonathan, >> Richmond wants to convert his bitmaps to SVG, >> because he has no SVG version. >> >> ___ >> use-livecode mailing list >> use-livecode@lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Vector graphics, again
Not really . . . . What Richmond wants to do is as follows: Generate vector graphics from groups of images and/or fields in Livecode in such a way thst they can be handled exactly in the same way as the SVG widget (which Richmond is in love with). R. On 08/09/17 00:25, hh via use-livecode wrote: Jonathan, Richmond wants to convert his bitmaps to SVG, because he has no SVG version. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Vector graphics, again
I was just suggesting an alternative solution. Raster to vector conversions are clunky, but there are a few online services that do this. Sent from my iPhone > On Sep 7, 2017, at 5:25 PM, hh via use-livecode > wrote: > > Jonathan, > Richmond wants to convert his bitmaps to SVG, > because he has no SVG version. > > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Vector graphics, again
Jonathan, Richmond wants to convert his bitmaps to SVG, because he has no SVG version. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Vector graphics, again
You could keep it as a vector graphic in a browser widget, rotate it in the browser, then export it from the browser widget as an image for LC to use. I know - it is an overkill solution, and it might be too slow if the dominoes are moving around quickly, but if not, it would work. Sent from my iPhone > On Sep 7, 2017, at 5:22 AM, Richmond via use-livecode > wrote: > > I have found that Livecode is really fantastic for generating families of > images > such as domino sets, which can be either imported from a group as images > or exported as PNG images. > > However, rotating those images results in all the "unfortunateness" involved > in > rotating any image in Livecode that is not an SVG widget. > > Is there a way in which one can generate an image from a group and import it > as a vector graphic > and/or export it in a vector format, and/or make it into an SVG widget? > > Richmond. > > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Vector graphics, again
I have found that Livecode is really fantastic for generating families of images such as domino sets, which can be either imported from a group as images or exported as PNG images. However, rotating those images results in all the "unfortunateness" involved in rotating any image in Livecode that is not an SVG widget. Is there a way in which one can generate an image from a group and import it as a vector graphic and/or export it in a vector format, and/or make it into an SVG widget? Richmond. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode