A library to convert svg to images? [closed] - c++

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I am looking for a library written either in C or C++ which can convert the svg to image formats.
I came across inkscape which converts svg to images. but to use this I must run inkscape as a process and this not the solution I am after.
I need the library to run on both Windows and Linux as well.
I am after a C or C++ library. If it was with Java I would have used Apache's Batik rasterizer.

The canonical library to render SVG is librsvg. You may want to check that out.

For image libray, you can use ImageMagick, which is quite popular and it support many types of image.

I would recommend leadtools, as they support many vector formats and many programming languages and it can be easily convert vector format to the most known raster format.
As far as I know they support Windows, not sure about Linux.
You can tell by visiting their website.

Related

Turbo-C++ under DosBox image manipulation library? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Is there any image manipulation (jpg, png or bmp I dont care) library for MS-DOS wich works under DosBox for Android with Turbo-C++?
I want to do a small old-school game and right now this is the only setup I've got to program as my laptop is screwed and Im not going to buy another anytime soom.
The thing is that the Turbo-C++'s graphic manipulation library is enough to do some kinda-decent user interfaces, but I need to use sprites (drawing circles and rectangles is not exactly what I need).
Is there any library? I know MS-DOS is kinda dead, but you gotta use what you have IMO.
And if no, what could I do to display images on screen?, I guess setting the pixels one by one loaded from a bmp could work but seems pretty inefficient and tedious to do.
Any ideas?,
Thanks.
Allegro is the best general-purpose games & graphics library I know of for DOS. It won't work with Turbo, but it will work with DJGPP, which is free (it's a build of GCC and related tools for DOS). If you use DJGPP with RHIDE, development feels a lot like Turbo.

convert hus and pes file to any types of images [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I am trying to convert a massive number of hus and pes files (embroidery files). I was able to do it using ImageMagick in centos but I encountered memory allocation errors and also it only works for pes files. Is there a script that can handle this for both file types?
I tryed in imageMagick with a lot of versions and a lot of files but I wasn't able to do it.
there are a couple of windows software that can do this, but it takes to much time to do it file by file.
Thanks to jpw I found a solution. Embroidermodder confers a conversion to svg that I can convert to png using convert. I had to build it from source but it worked very well.

Report generator for C++/Qt (Windows) [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I have a program un C++/Qt written for Windows, which prints some graphs in pdf format and some other data in HTML.
I need to print all together into a single PDF, a single-file report.
I have looked for some libraries similar to Crystal reports, but I just find paid ones and I need a free open-source solution. I finally found RTK reports but it looks to run only with UNIX.
Any library or different solution for my needs?
You might want to check out what Qt has built into it in versions 4.7 & 4.8. From Qt 4.8: Printing with Qt, there is this little tidbit "Qt's printing system also enables PostScript and PDF files to be generated...." The QPrinter class supports several different Output Formats, including PDF.
Disclaimer: I haven't played with this part of Qt, so YMMV.

Can somebody recommend a good U3D library? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I need to put some 3D images into PDF files, and PDF uses Universal 3D (U3D) formats. I don't like the U3D Sourceforge project (basically what Intel released after the ECMA standardization effort).
Does anybody know of good U3D libraries I could use? I'm using C++ on Microsoft Windows, FWIW.
VCGLib is a mesh processing library that has a U3D exporter and a variety of importers (see http://vcg.sourceforge.net/index.php/Tutorial#File_Formats). MeshLab is a tool built on top of it.
Another answer would be Visual Technology Services with PDF3D (PDF link). I've started evaluating it and I like what I see so far.
I agree with your position of not liking the U3D sourceforge project. People at my company is having problems with it when exporting large models: it runs out of memory.
The project has explicitly stated that it has memory issues on its TODO list and is dead since 2007, so I strongly recommend you to go elsewhere.

Read (and write) RTF files with C++ / Qt [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I am looking for a simple C++ library for tokenizing and parsing RTF (Rich Text Format) files. I am planning to edit them with Qt's QTextEdit.
More the Formatting preserved the better -- but actually I am planning to use Bold and Italics only.
In perl I would use RTF::Tokenizer.
It would be nice if the module had some sort of interface for writing also, but I am able to brute force that with a template and some regular expressions.
I helped writing the RTF import export filter in KOffice. You can have a look at the code at https://cgit.kde.org/koffice.git/tree/filters/kword/rtf. The code is modular and it depends only on Qt.
A quick SourceForge search suggests librtf. It hasn't been developed in a while, but is listed as stable and is under the LGPL. I don't know whether it will support what you need, but I always suggest searching SourceForge for libraries.
You can ask the #koffice guys on irc.freenode.org over irc. Their program kword is able to open RTF files, and is indeed also written in Qt. I'm sure they would be glad to tell you about how they do it.