Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
95 user(s) are online (56 user(s) are browsing Forums)

Members: 0
Guests: 95

more...

Headlines

 
  Register To Post  

SVG Datatype
Home away from home
Home away from home


See User information
Hi everyone,

i wanted to ask about how to use the svg datatype from OS4Depot.net

I installed it (like described in the readme) and iiuc it should work out of the box (after a reboot, maybe) with Multiview/Multiviewer?
Alas it does not...any SVG file is still load and displayed as ascii (if i drag and drop it into Multiviewer's window - Multiview simply says) and refused to loaded when i pick the file from an ASL requester or drop it into the Multiview window (Cannot load icon.svg)

I tried to add it to DefIcons, to no avail

Needless to say, the svg files work perfectly fine in Odyssey

Any hints on how i could achieve a system-wide svg datatype support?

Thank you

People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
Go to top
Re: SVG Datatype
Amigans Defender
Amigans Defender


See User information
@Raziel

Which one? I would recommend mine: Https://www.unsatisfactorysoftware.co. ... nload.php?file=drawing_dt
The advantage of this is it renders the files as structured art. Disadvantage is you can't load into a pixel editor via the datatype.
If it won't recognise the file send it over to me on email and I'll look into it.

Go to top
Re: SVG Datatype
Home away from home
Home away from home


See User information
@Chris

Thank you...will check it tomorrow...well, today...later

People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
Go to top
Re: SVG Datatype
Home away from home
Home away from home


See User information
@Chris

It works

But structured art is not really what i was looking for.
I was going for the original svg and how it was meant to look.

Well, seems i have to rely on converting the files to png

Thank you for the help though, appreciated

People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
Go to top
Re: SVG Datatype
Amigans Defender
Amigans Defender


See User information
@Raziel

That is how it's meant to look - SVG is structured art! If you convert to PNG/bitmap you're losing information.

If the file isn't displaying correctly then that's a different matter and I'd like to look at the file (libsvgtiny isn't fully featured but should display most files correctly)

Go to top
Re: SVG Datatype
Home away from home
Home away from home


See User information
@Chris

If you pm your email i can send you a few of the svgs.

You can compare them with how Odyssey displays them...they seem to lack a good amount of gradient in color and if i can tell correctly, even the form (cube, circle etc.) isn't 100% correct in the datatype display, but that might very well be my fleeting eyesight

People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
Go to top
Re: SVG Datatype
Amigans Defender
Amigans Defender


See User information
@Raziel

Hmm, yes gradients might not work properly, would definitely be interested in checking them to see if it is something I can fix or just not supported by svgtiny. PM being sent.

Go to top
Re: SVG Datatype
Home away from home
Home away from home


See User information
@Chris

You've got mail

Thank you for your time

People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
Go to top
Re: SVG Datatype
Home away from home
Home away from home


See User information
@all

resurrecting my thread

Is/would it (be) possible to have a system-wide .svg support for all the WB icons?

That way no different sized icons would be needed anymore because, because anyone could set their preferred icon size in WB prefs and won't loose focus, quality, detail and whatever else.

Just an idea

People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
Go to top
Re: SVG Datatype
Home away from home
Home away from home


See User information
@Raziel

SVG support for icons is not 100% a bad idea but

Quote:

detail


You would in fact lose the details of hand drawn pixel based icons as vector graphics is not suited to that, it's good at logos text and shape based gfx.

Compare dull android icons and emojis to the subtletiess of the icons sets create by Mason

A matter of taste though perhaps

Go to top
Re: SVG Datatype
Home away from home
Home away from home


See User information
@broadblues

Ah yes, i forgot about the limitations, though svgs with gradients do really look nice

People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
Go to top
Re: SVG Datatype
Amigans Defender
Amigans Defender


See User information
I have no idea how to write a icon.library module, but it does have the facility for such a thing, so at least in theory it should be possible to write an SVG module for it.

Go to top
Re: SVG Datatype
Home away from home
Home away from home


See User information
@Chris

I hear a "i might have a go at it"

People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
Go to top
Re: SVG Datatype
Just popping in
Just popping in


See User information
Maybe Massimo could help as he is the guy that wrote the png module.

http://os4depot.net/index.php?functio ... e=library/misc/png_im.lha

Go to top
Re: SVG Datatype
Home away from home
Home away from home


See User information
@Petrol

That was 15 years ago..is he even still around?

People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project