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 Guy Payeur  
#1 Posted : 11 January 2015 18:34:46(UTC)
Guy Payeur


Rank: Member

Groups: Registered
Joined: 15/09/2012(UTC)
Posts: 20
Man
Canada
Location: Quebec

Was thanked: 2 time(s) in 2 post(s)
As an Electrical Engineer in Canada, I am using SMath since many years for all kind of personnal work. One feature that would increase the usefullness of SMath for me is to be able to select a PDF file as a Background image. Of course it would be great to have a SMath page created per each PDF pages.

The goal is to "SMath"[verb] selected formulas and graphs on top of the PDF document to experiment with results and to master its contents.

If I push it a bit, there are great apps that can read a formula from an image. So, it would be possible to select an area of the PDF document to instantly capture an image formula into a "SMath" formula.

Keep up the great work!!!
thanks 1 user thanked Guy Payeur for this useful post.
on 11/01/2015(UTC)

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

Offline brotjob  
#2 Posted : 12 January 2015 22:40:54(UTC)
brotjob


Rank: Advanced Member

Groups: Registered
Joined: 18/09/2014(UTC)
Posts: 71
Switzerland

Was thanked: 7 time(s) in 7 post(s)
Originally Posted by: guypayeur@hotmail.com Go to Quoted Post
One feature that would increase the usefullness of SMath for me is to be able to select a PDF file as a Background image.


I think this is not a useful feature in the eyes of the developer. I filed this in the Issue Tracker system as SS-1237 but it got closed without being implemented.

Offline Guy Payeur  
#3 Posted : 12 January 2015 23:00:20(UTC)
Guy Payeur


Rank: Member

Groups: Registered
Joined: 15/09/2012(UTC)
Posts: 20
Man
Canada
Location: Quebec

Was thanked: 2 time(s) in 2 post(s)
Originally Posted by: brotjob Go to Quoted Post
I think this is not a useful feature in the eyes of the developer.


This is easily understandable. After all, this is a project with multiple very interesting branches of development for developers.

I will continue to add manually selected "PDF to Bitmap" Background images.

Great wishes for 2015 !!!
Offline Davide Carpi  
#4 Posted : 12 January 2015 23:04:56(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,647
Man
Italy
Location: Italy

Was thanked: 1329 time(s) in 875 post(s)
Originally Posted by: guypayeur@hotmail.com Go to Quoted Post
As an Electrical Engineer in Canada, I am using SMath since many years for all kind of personnal work. One feature that would increase the usefullness of SMath for me is to be able to select a PDF file as a Background image. Of course it would be great to have a SMath page created per each PDF pages.

The goal is to "SMath"[verb] selected formulas and graphs on top of the PDF document to experiment with results and to master its contents.

If I push it a bit, there are great apps that can read a formula from an image. So, it would be possible to select an area of the PDF document to instantly capture an image formula into a "SMath" formula.

Keep up the great work!!!


I'm pretty sure this could be done quite easily with a plugin, because there are existing PDF-plugins and in the SMath Core documentation I've found a PagesOptions.SetBackground method:

Code:
public void SetBackground(
	Bitmap bmp,
	int pageNum,
	BackgroundImageSize size
)



Originally Posted by: brotjob Go to Quoted Post
Originally Posted by: guypayeur@hotmail.com Go to Quoted Post
One feature that would increase the usefullness of SMath for me is to be able to select a PDF file as a Background image.


I think this is not a useful feature in the eyes of the developer. I filed this in the Issue Tracker system as SS-1237 but it got closed without being implemented.


seems to me a different thing... here is asked to use a pdf as background, page-by-page; the BTS request was to use an image inside the header/footer, with placeholders or something similar.

Edited by user 13 January 2015 02:15:35(UTC)  | Reason: Not specified

If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
Offline Guy Payeur  
#5 Posted : 12 January 2015 23:32:40(UTC)
Guy Payeur


Rank: Member

Groups: Registered
Joined: 15/09/2012(UTC)
Posts: 20
Man
Canada
Location: Quebec

Was thanked: 2 time(s) in 2 post(s)
Originally Posted by: w3b5urf3r_reloaded Go to Quoted Post
I'm pretty sure this could be done quite easily with a plugin


I am glad to here that.

Originally Posted by: w3b5urf3r_reloaded Go to Quoted Post
seems to me a different thing... here is asked to used a pdf as background, page-by-page; the BTS request was to use an image inside the header/footer, with placeholders or something similar.


When I add a background image, SMath ask if you want it applied to current page or all pages. One way to add a logo or any header/footer could be to design it as a Bitmap (full page) and add it as a background image applied to all pages.

Offline Davide Carpi  
#6 Posted : 13 January 2015 01:36:51(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,647
Man
Italy
Location: Italy

Was thanked: 1329 time(s) in 875 post(s)
Originally Posted by: guypayeur@hotmail.com Go to Quoted Post
When I add a background image, SMath ask if you want it applied to current page or all pages. One way to add a logo or any header/footer could be to design it as a Bitmap (full page) and add it as a background image applied to all pages.


Yep, this is exactly what was intended by the developper in his answer (maybe better explained in your way).


---

edit not easy as expected... anyway I've found a possible way (here for further reference)

GhostscriptSharp wrapper for Ghostscript

Edited by user 13 January 2015 05:36:13(UTC)  | Reason: Not specified

If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
Offline Guy Payeur  
#7 Posted : 14 January 2015 05:23:22(UTC)
Guy Payeur


Rank: Member

Groups: Registered
Joined: 15/09/2012(UTC)
Posts: 20
Man
Canada
Location: Quebec

Was thanked: 2 time(s) in 2 post(s)
Originally Posted by: w3b5urf3r_reloaded Go to Quoted Post

edit not easy as expected... anyway I've found a possible way (here for further reference)

GhostscriptSharp wrapper for Ghostscript


Well, I guess there is still hopes!
I should try to get some info on plugins...

Offline ElSid  
#8 Posted : 15 November 2019 19:23:49(UTC)
ElSid


Rank: Advanced Member

Groups: Registered
Joined: 05/03/2009(UTC)
Posts: 433
Man
United States
Location: USA

Was thanked: 17 time(s) in 15 post(s)
I would like to suggest making the "background image" to function like IRFANVIEW "overlay/watermark". I need to make some backgrounds translucent and I cannot find how to do this natively in SMATH. Hoping the IRFAN code is available since it's free too
Offline Jean Giraud  
#9 Posted : 16 November 2019 04:59:12(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: ElSid Go to Quoted Post
I would like to suggest making the "background image" to function like IRFANVIEW "overlay/watermark".I need to make some backgrounds translucent and I cannot find how to do this natively in SMATH.

1. Wingrab Capture an Smath work sheet w/o grid
2. SelectTool the all part of the work sheet
3. Save as *.PNG
........from Smath
4. Insert background [browse from file]
5. fit [it fits both directions]
Now you have a translucent background,
what's the use whereas you are back to native Smath
....... otherwise
insert an RGB image from file, fit to stretch.
If your original has pixels X,Y proportional to
an Smath native pixels X,Y ... the image background
will be nicely zoomed to the full work sheet size
at highest quality similar to IrfanView HD TV quality.
On the other hand, you can't use background to insert
a logo image. For that, create a cartouche.

Offline ElSid  
#10 Posted : 16 November 2019 05:12:45(UTC)
ElSid


Rank: Advanced Member

Groups: Registered
Joined: 05/03/2009(UTC)
Posts: 433
Man
United States
Location: USA

Was thanked: 17 time(s) in 15 post(s)
I need to make the image "translucent". I'd like the background feature to allow for making the image translucent. This is doable in Libre/Open Office, IrfanView, etc. They are working on the field and background features, so this would be a nice upgrade.
Offline Jean Giraud  
#11 Posted : 16 November 2019 16:59:15(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Elsid_1.sm (3kb) downloaded 20 time(s).
Elsid_2.sm (54kb) downloaded 17 time(s).
Offline Jean Giraud  
#12 Posted : 16 November 2019 19:14:03(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Like explained before, inserting background is translucent,
i.e: like if it was not here. Then immaterial wrt Smath stuff.
Please let us know if the attached has gray [228, 228, 175]
background ... did the transmission preserved the background ?

Inst_Z Transform.sm (91kb) downloaded 15 time(s).
Offline CBG  
#13 Posted : 17 November 2019 08:33:13(UTC)
CBG


Rank: Advanced Member

Groups: Registered
Joined: 14/10/2015(UTC)
Posts: 308

Was thanked: 77 time(s) in 58 post(s)
Hello:

I think you have to use an image manipulation program
like Gimp or Krita (both free).
In the example published by Jean, I copied the image to Gimp, lower the opacity to 38% and save the image in PNG format.

I have inserted the saved image as a background.

Traslucit_2.png

Inst_Z Transform_Jean.sm (3,044kb) downloaded 17 time(s).

Best Regards

Carlos
thanks 2 users thanked CBG for this useful post.
on 17/11/2019(UTC),  on 18/11/2019(UTC)
Offline Jean Giraud  
#14 Posted : 17 November 2019 16:31:20(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: CBG Go to Quoted Post
I think you have to use an image manipulation program
like Gimp or Krita (both free).
In the example published by Jean, I copied the image to Gimp, lower the opacity to 38% and save the image in PNG format.
I have inserted the saved image as a background.

Thanks Carlos, for the fade feature.
That will surely make Elsid more happy.
A nice additional option would be similar to Mathcad:
ordinary background adjustable RGB [Yellow corn, soft gray ...]
Very useful to organize the regions, superb for publishing.
Cheers ... Jean
Offline Jean Giraud  
#15 Posted : 18 November 2019 01:18:09(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: ElSid Go to Quoted Post
I would like to suggest making the "background image" to function like IRFANVIEW "overlay/watermark".I need to make some backgrounds translucent and I cannot find how to do this natively in SMATH.Hoping the IRFAN code is available since it's free too

Plain background is explained here.
You can have as many personalized background, even different for
each page of the Smath document.
Supplementary detail wrt image:
The native Smath sheet is in close ratio 1 x 1.29 [width*height].
Thus: if you want best image as background, capture in rectangular
ratio close to 1* ~ 1.3. Stretching will preserve this aspect ratio.
WinGrab has the rectangular ratio in pixels.


Inst_Z Transform Plain Background.sm (18kb) downloaded 21 time(s).
Offline ElSid  
#16 Posted : 18 November 2019 18:02:24(UTC)
ElSid


Rank: Advanced Member

Groups: Registered
Joined: 05/03/2009(UTC)
Posts: 433
Man
United States
Location: USA

Was thanked: 17 time(s) in 15 post(s)
Originally Posted by: CBG Go to Quoted Post
Hello:

I think you have to use an image manipulation program
like Gimp or Krita (both free).
In the example published by Jean, I copied the image to Gimp, lower the opacity to 38% and save the image in PNG format.

I have inserted the saved image as a background.

Traslucit_2.png

Inst_Z Transform_Jean.sm (3,044kb) downloaded 17 time(s).

Best Regards

Carlos

Yes! I was looking at "muting" the background image as it was overwhelming the "calculation". IrfanView and OpenOffice call it "translucent" and you called it "opacity"

Jean,
I know you are not a believer of this, but it's for a presentation and having their "logo" is required. Now to PDF and add this calculation to my slides.
Offline Jean Giraud  
#17 Posted : 18 November 2019 22:37:44(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: ElSid Go to Quoted Post
Yes!I was looking at "muting" the background image as it was overwhelming the "calculation".IrfanView and OpenOffice call it "translucent" and you called it "opacity"

Jean,
I know you are not a believer of this, but it's for a presentation and having their "logo" is required.Now to PDF and add this calculation to my slides.

Translucent = opacity = Gamma correction are synonymous.
The technical term is Gamma correction [Irfanview, Wingrab, Mathcad].
1. You can have the translucent background in 16777216 colors.
2. You can have the native logo wherever in that translucent work sheet.
3. For convenience: you can manipulate the logo color scheme.
4. Once the document is complete as you wish, make *.PDF
The attached PDF is 1/1 Smath document ... Please: comment.
Cheers ... Jean.

Cadarache.pdf (123kb) downloaded 15 time(s).
Offline Jean Giraud  
#18 Posted : 19 November 2019 06:19:10(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
...what else about this thread ?

Template YellowCorn.sm (3kb) downloaded 17 time(s).
Offline Jean Giraud  
#19 Posted : 19 November 2019 23:12:22(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: Jean Giraud Go to Quoted Post
...what else about this thread ?

Individual translucent per page.

Template Background Multiple.sm (15kb) downloaded 25 time(s).
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.