Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline Jarrinator  
#1 Posted : 17 May 2012 02:22:53(UTC)
Jarrinator


Rank: Member

Groups: Registered
Joined: 15/05/2012(UTC)
Posts: 14
Man
Ecuador
Location: Profeta Miqueas Oe10-309 y Tabiazo

Was thanked: 7 time(s) in 4 post(s)
Smath Studio can save files in the HTML format, graphs and equations are saved as PNG images inside the HTML files.
It would be a great feature that animations could be directly saved as animated gif images, so they can be displayed as what they are, "animations".
Even if you try to save an animation as a gif image, Smath Studio creates a static image.
I know that animated gif images can be created manually with the corresponding software and then they can be inserted in HTML files, but if Smath Studio were able to directly create animated gif images for animations when you save files in HTML, a precious time could be saved.
Ecuadorian Electronic engineer and MBA student at Salesian Polytechnic University.

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline omorr  
#2 Posted : 17 May 2012 10:27:44(UTC)
omorr


Rank: Administration

Groups: Registered, Advanced Member
Joined: 23/06/2009(UTC)
Posts: 1,740
Man
Serbia

Was thanked: 318 time(s) in 268 post(s)
Hello,

Actually, it is not so complicated at the moment. It could be fixed manually by editing the source HTML file. Animated graphs can be exported into Animated GIF's. No need for any dedicated software. When you get your animations in the SMath worksheet just right click on it until you see the menu and the "Export..." option at the end. Now you can save it as an animated GIF.

When you save the worksheet as an HTML file, then you will get a HTML file and the folder with the same name. In that folder every region is in PNG (statis) format. Open this HTML in any editor and you will see something like this

<html><head><title>proba</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name=Generator content="SMath Studio"><meta name=ProgID content="SMath Studio"></head><body>
<div style="position: absolute; left: 31; top: 31;"><img src="proba/proba_0.png" /></div>
<div style="position: absolute; left: 265; top: 40; width: 167;"><span style="font-size: 10pt; font-family: Courier New, Courier, mono; color: #000000; background-color: #ffffff;">this is a html file</span></div>
<div style="position: absolute; left: 40; top: 85;"><img src="proba/proba_1.png" /></div>
<div style="position: absolute; left: 40; top: 112;"><img src="proba/proba_2.gif" /></div>
</body></html>


The regions are in <img src= ... tags. Change the appropriate PNG static file with your animated GIF. Now you will have the HTML with the animated gifs inserted. There might be some time consuming task to find out the appropriate PNG.

The same example is on this link.

proba

I am not an expert in this and I might miss something, but it works for me. On the other hand, an option inside SMath about saving regions either in GIF or PNG when saving in HTML will be welcome because there would be no need for this manual HTML editing. Actually, I am not quite sure how to deal with this because GIF's can be animated or not - how to save them in the HTML? There must be some option about it as well.

Regards,
Radovan

Edited by user 17 May 2012 10:32:41(UTC)  | Reason: Not specified

When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
thanks 1 user thanked omorr for this useful post.
on 17/05/2012(UTC)
Offline Jarrinator  
#3 Posted : 18 May 2012 04:36:22(UTC)
Jarrinator


Rank: Member

Groups: Registered
Joined: 15/05/2012(UTC)
Posts: 14
Man
Ecuador
Location: Profeta Miqueas Oe10-309 y Tabiazo

Was thanked: 7 time(s) in 4 post(s)
Thank you Mr. Radovan for your attention and your solution for exporting animated gif images, I´m planning to use this solution to make some HTML tutorials about Smath Studio for spanish users.
Here is an example:
Smath Studio Quick Overview
When I finish the tutorials, I will upload them.

Edited by user 18 May 2012 04:54:04(UTC)  | Reason: Not specified

Ecuadorian Electronic engineer and MBA student at Salesian Polytechnic University.
thanks 2 users thanked Jarrinator for this useful post.
on 18/05/2012(UTC),  on 18/05/2012(UTC)
Offline omorr  
#4 Posted : 18 May 2012 09:28:55(UTC)
omorr


Rank: Administration

Groups: Registered, Advanced Member
Joined: 23/06/2009(UTC)
Posts: 1,740
Man
Serbia

Was thanked: 318 time(s) in 268 post(s)
You are welcome,

Looking forward to a Spanish Tutorial on SMath Wiki Good

Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.