Search found 18 matches

by wyatt121
Thu Nov 14, 2019 4:30 am
Forum: Programming
Topic: Can multiple Inkscapes be launched at same time via PHP pthreads?
Replies: 4
Views: 732

Re: Can multiple Inkscapes be launched at same time via PHP pthreads?

Hmm. I don't think Inkscape --shell can accept verb commands, as the verb commands require a GUI.
by wyatt121
Wed Nov 13, 2019 12:52 pm
Forum: Programming
Topic: Can multiple Inkscapes be launched at same time via PHP pthreads?
Replies: 4
Views: 732

Re: Can multiple Inkscapes be launched at same time via PHP pthreads?

Wow. I did not realize this existed. Very cool. Hmmm. Curious. I have never done anything like this before. If I run the following within PHP it will execute the shell and then just hang, as it waits for further instructions. system("inkscape --shell"); How do I keep sending it verb comman...
by wyatt121
Wed Nov 13, 2019 4:51 am
Forum: Programming
Topic: Can multiple Inkscapes be launched at same time via PHP pthreads?
Replies: 4
Views: 732

Can multiple Inkscapes be launched at same time via PHP pthreads?

Hi, I use Inkscape via CLI with the PHP system command to create unique SVGs within a headless GUI. I use PHP to create a base SVG with unique text/variables (like a mail-merge), and then use Inkscape CLI verbs to complete actions and save out the "rendered" SVG. Here is the issue. It is s...
by wyatt121
Sat Nov 09, 2019 3:37 am
Forum: SVG / XML Code
Topic: transform="translate(0,973.00002) How to always set to default and fix at 0,0 ?
Replies: 4
Views: 962

transform="translate(0,973.00002) How to always set to default and fix at 0,0 ?

Hi, This little "transform="translate(0,973.00002)" setting that Inkscape seems to automatically put on the default layer is messing up my world, as it changes the Y-axis, and then Y values within the SVG do not match what is on screen. I realize the Y-axis is flipped also, but this i...
by wyatt121
Sun Jul 28, 2019 2:39 pm
Forum: General Discussions
Topic: Successful PNG export file at width 2000, but not at width 3600
Replies: 9
Views: 2179

Re: Successful PNG export file at width 2000, but not at width 3600

druban wrote:Can you tell me if this file attached has the same problem with rendering or exporting, and if not, is this result what you want it to look like?


Your edited file exported just fine. What do I need to do to my other files to make them export ok also? How did you change my original file?


Wyatt
by wyatt121
Sat Jul 27, 2019 1:02 am
Forum: General Discussions
Topic: Successful PNG export file at width 2000, but not at width 3600
Replies: 9
Views: 2179

Re: Successful PNG export file at width 2000, but not at width 3600

Hi Guys, Good morning! Wow! Thank you all for the responses. My version of Inkscape: Inkscape 0.92.3 (2405546, 2018-03-11) I tried adjusting my render settings. I doubled all the values, tested, then tripled the values, tested... Unfortunately, I received the same result. I typically render via CLI,...
by wyatt121
Fri Jul 26, 2019 4:53 pm
Forum: General Discussions
Topic: Successful PNG export file at width 2000, but not at width 3600
Replies: 9
Views: 2179

Successful PNG export file at width 2000, but not at width 3600

Hi, I have run into an unusual problem with PNG export. When I export my SVG to PNG at width 2000px, all works fine. However, when I change the width to 3600px, my PNG export is all black. Very strange/weird error. No error messages are printed to screen or terminal. This is a big problem because I ...
by wyatt121
Sat Sep 01, 2018 3:37 am
Forum: Programming
Topic: How to AlignVerticalCenter to selection area?
Replies: 5
Views: 3415

Re: How to AlignVerticalCenter to selection area?

I can test this, but manually setting it in the GUI dialog doesn't really help my case, as I have some code actions that align by page, and require other code actions that need to be aligned by "selection area" within the same command line.
by wyatt121
Fri Aug 31, 2018 3:25 pm
Forum: Programming
Topic: How to AlignVerticalCenter to selection area?
Replies: 5
Views: 3415

Re: How to AlignVerticalCenter to selection area?

I use it to vertically center text within a rectangle.

I select a rectangle, I select text. I choose "selection area", then press the align vertical center button and the text centers inside my box.

Is there a different way to vertically center text within a box automatically?
by wyatt121
Fri Aug 31, 2018 9:27 am
Forum: Programming
Topic: How to AlignVerticalCenter to selection area?
Replies: 5
Views: 3415

How to AlignVerticalCenter to selection area?

Hi, Using the Inkscape verb "AlignVerticalCenter" I'm able to easily align an object through the CLI. When I do this, the object is vertically centered to the page. Within the Inkscape GUI Align and Distribute interface, there is a dropdown titled "Relative to". I would like to b...
by wyatt121
Fri Jul 27, 2018 6:21 pm
Forum: Inkscape Resources
Topic: countersheets extension (counters, cards, mail merge from CSV)
Replies: 15
Views: 6193

Re: countersheets extension (counters, cards, mail merge from CSV)

Hi Pelle, Great extension!. I'm very excited to try. I have been working with Inkscape command lines, and have become very frustrated with the inability to pass values on the command line. It seems I may be able to pass values with your extension and a CSV file. Here are the 3 things I'm trying to a...
by wyatt121
Fri Jul 27, 2018 6:14 am
Forum: Help with using Inkscape
Topic: How do I export a 24-bit PNG?
Replies: 18
Views: 4812

How do I export a 24-bit PNG?

Hi,

When I export my document it is being exported as 8-bit. How do I make Inkscape export PNG as 24-bit w/ transparency?

Any help is much appreciated.

Regards,

Wyatt
by wyatt121
Thu Jul 26, 2018 7:41 am
Forum: Programming
Topic: How to free rotate an object programmatically?
Replies: 3
Views: 3231

Re: How to free rotate an object programmatically?

Hi Moini,

Thank you for your reply. How would I load the values from a file via command line to pass to the transform function? I don't see any Inkscape documentation for this procedure.

Wyatt
by wyatt121
Mon Jul 09, 2018 5:42 pm
Forum: Programming
Topic: How to free rotate an object programmatically?
Replies: 3
Views: 3231

How to free rotate an object programmatically?

Hi, I am trying to rotate an object X degrees. I would like to use the command line interface, but I only see ObjectRotate90, ObjectRotate90CCW. In addition, it is my understanding that I can't pass values through verbs. So I couldn't even do FreeRotate=X even if this verb existed... Does anybody ha...
by wyatt121
Sun Jan 07, 2018 9:27 am
Forum: Programming
Topic: Can I merge a path into an envelope via an extension by way of the Inkscape command line?
Replies: 6
Views: 3856

Re: Can I merge a path into an envelope via an extension by way of the Inkscape command line?

My process above required GUI to be launched because of the -z tag not supporting inkscape verbs. This was extremely annoying and forced me to run my scripts through a GUI. This slows down the process considerably. I stumbled upon a workaround that works great! Instead of using a full GUI, I launch ...
by wyatt121
Fri Jan 05, 2018 4:08 pm
Forum: Programming
Topic: Can I merge a path into an envelope via an extension by way of the Inkscape command line?
Replies: 6
Views: 3856

Re: Can I merge a path into an envelope via an extension by way of the Inkscape command line?

Yippee Ki Yay! I have been working for this solution on/off for almost 6 months. Thank you so much for your response. Your response put all the pieces together for me. Here is how it is done: cp template.svg new.svg && inkscape new.svg --select=text187 --verb=SelectionCombine --verb=Selectio...
by wyatt121
Wed Jan 03, 2018 8:18 am
Forum: Programming
Topic: Can I merge a path into an envelope via an extension by way of the Inkscape command line?
Replies: 6
Views: 3856

Can I merge a path into an envelope via an extension by way of the Inkscape command line?

Hi, Can I merge a path into an envelope via an extension by way of the Inkscape command line? I'm trying to write a script to generate hundreds of unique graphic files each with different text within. This is typically done with mail merge, but I need to be able to merge the text into a bezier shape...

Go to advanced search