Re: [go-nuts] Re: How to convert an svg to a png (or gif) image?

2023-08-04 Thread Jan Mercl
On Fri, Aug 4, 2023 at 1:22 PM Brian Candler  wrote:

> Also there's a project which compiles C code to Go - ISTR it was used to 
> build a pure Go version of Sqlite.  Presumably the same approach could be 
> applied to an image processing library.
>
> https://twitter.com/bradfitz/status/855271867162083329?lang=en
> https://groups.google.com/g/golang-nuts/c/QDEczMhlQBU/m/4lCn2kP0AwAJ
> https://github.com/elliotchance/c2go

ccgo/v3 is being slowly phased out. ccgo/v4 is not yet released, but
maybe it can already transpile a C SVG to PNG code base and I'd like
to try that to at least know where it fails.

A quick search found no such C code, but that might be my fault. Does
anyone know about a pure C SVG to PNG lib/program?

-j

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CAA40n-WLtSqLRmsYvCX1UtdnxhtPJEdDR0T%3DoSg8EXZUkPHDVw%40mail.gmail.com.


[go-nuts] Re: How to convert an svg to a png (or gif) image?

2023-08-04 Thread Brian Candler
Also there's a project which compiles C code to Go - ISTR it was used to 
build a pure Go version of Sqlite.  Presumably the same approach could be 
applied to an image processing library.

https://twitter.com/bradfitz/status/855271867162083329?lang=en
https://groups.google.com/g/golang-nuts/c/QDEczMhlQBU/m/4lCn2kP0AwAJ
https://github.com/elliotchance/c2go

On Friday, 4 August 2023 at 11:58:19 UTC+1 Mandolyte wrote:

> and https://pkg.go.dev/github.com/canhlinh/svg2png
>
> On Friday, August 4, 2023 at 4:48:26 AM UTC-4 Mark wrote:
>
>> Thanks!
>>
>> On Friday, August 4, 2023 at 8:46:18 AM UTC+1 Tamás Gulácsi wrote:
>>
>>> https://pkg.go.dev/github.com/goki/gi/svg
>>>
>>> Mark a következőt írta (2023. augusztus 3., csütörtök, 13:18:48 UTC+2):
>>>
 I know this has been asked before, just wondered if there were any 
 pure-Go solutions?

>>>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/c2523fb7-2308-4f77-ae60-56779c696402n%40googlegroups.com.


[go-nuts] Re: How to convert an svg to a png (or gif) image?

2023-08-04 Thread Mandolyte
and https://pkg.go.dev/github.com/canhlinh/svg2png

On Friday, August 4, 2023 at 4:48:26 AM UTC-4 Mark wrote:

> Thanks!
>
> On Friday, August 4, 2023 at 8:46:18 AM UTC+1 Tamás Gulácsi wrote:
>
>> https://pkg.go.dev/github.com/goki/gi/svg
>>
>> Mark a következőt írta (2023. augusztus 3., csütörtök, 13:18:48 UTC+2):
>>
>>> I know this has been asked before, just wondered if there were any 
>>> pure-Go solutions?
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/eac3ed54-4972-4675-a515-d6741865b2c3n%40googlegroups.com.


[go-nuts] Re: How to convert an svg to a png (or gif) image?

2023-08-04 Thread 'Mark' via golang-nuts
Thanks!

On Friday, August 4, 2023 at 8:46:18 AM UTC+1 Tamás Gulácsi wrote:

> https://pkg.go.dev/github.com/goki/gi/svg
>
> Mark a következőt írta (2023. augusztus 3., csütörtök, 13:18:48 UTC+2):
>
>> I know this has been asked before, just wondered if there were any 
>> pure-Go solutions?
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/6c0c3e50-72ab-42bb-9579-f8c9c967d5f5n%40googlegroups.com.


[go-nuts] Re: How to convert an svg to a png (or gif) image?

2023-08-04 Thread Tamás Gulácsi
https://pkg.go.dev/github.com/goki/gi/svg

Mark a következőt írta (2023. augusztus 3., csütörtök, 13:18:48 UTC+2):

> I know this has been asked before, just wondered if there were any pure-Go 
> solutions?
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/d65b7fcc-bfaa-4d29-9332-bfaf0c004bedn%40googlegroups.com.