Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I want to create some diagrams for some papers.
Diagrams will contain some text, e.g. some console output. I need images for using also in html files.
There is TikZ so can create images like this:
http://www.texample.net/tikz/examples/boxes-with-text-and-math/
http://www.texample.net/tikz/examples/rule-based-diagram/
http://www.texample.net/tikz/examples/scenario-tree/
but as a result I get some ps/pdf files, not images.
What's more I want to generate the pictures from text files as I want to track changes in some VCS, any binary files are not suitable for that.
The program convert from the ImageMagick suite can convert PDF files to other formats, like PNG. In its simplest form:
convert diagram.pdf diagram.png
See the manual for additional options.
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
Is there a way to take a screenshot in UE4 while in-game and save it somewhere so that I can use it again as an image or something?
There is a HighResShot solution, but that saves it somewhere outside the range of the editor (you cannot reach it programmatically), is there another way of doing it, that allows me to access it in-game?
I would recommend using HighResShot for taking the screenshots. As you mention, it saves this outside the range of the engine, in the "saved" folder. (In packaged builds, the saved content is in the user's appdata.) You can actually get this with ProjectSavedDir(), which returns this saved directory. https://docs.unrealengine.com/en-US/API/Runtime/Core/Misc/FPaths/index.html
It's C++, but you can expose this to Blueprints fairly easily. You can get the ProjectSavedDir()/Screenshots directory and load the images in-game. For doing this, I recommend the Ramas plugin (https://forums.unrealengine.com/development-discussion/blueprint-visual-scripting/4014-39-rama-s-extra-blueprint-nodes-for-you-as-a-plugin-no-c-required?3851-(39)-Rama-s-Extra-Blueprint-Nodes-for-You-as-a-Plugin-No-C-Required=)
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I want to insert jpeg file in SQL. How to do this?
You probably want to use the binary, varbinary or varbinary(max) data type.
Of course, you have to convert the (JPEG) image to a byte array first in order to store it in the database. Depending on the programming language of your choice this can be easy or hard.
Not sure if you can read files from a T-SQL command and store/retrieve them from a database. Then again, I don't think you would want such a scenario in real-life.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 5 years ago.
Improve this question
I want to know if there's a way to create a file that only my application can read but other programs (eg: notepad) can't
For example:
i create a config file from my application, and if i open it with notepad it will be garbled nonsense, like:
½ÁoLG0%Ö9)9Ìm•~0ý<öKfƒ”ü9´~<ƒ\,Aëxzºv‡#u}ž¹ñ7µK³¨]fÛn {盞Ժî*Ò\úǃ«E%ñ
x#Â˼†ZÜŸ¹>ÇðÏ•Þ¢dóü0¹ñS`|ÛV‰‡Fëm¬2°,üdVNÆ$å^Rf¾!v¼ñ
¡ýù´ÿËjC&¤œšÍÉ]ËÈFæTñq%#++ÜÝ[êq"#hbÍj‰Œ‚äd¡†¸<×sæå‘óùOë\2rxy
You're looking for encryption, if you want something readable only to your application but not the end user.
I don't know VB.NET but a quick google search shows me this question which has a pretty well written answer, that seems to explain how to encrypt a file in VB.NET
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I'm looking to create a program that will sift and sort through tabular data created in excel format. I would like to be able to iterate through several .csv files within a folder, and create dictionaries of information that can be used to generate metrics and reports. I've been developing for a couple of years now, and I've never had to use xcode for anything like this.
I am curious if this is an easy solution to manipulating data or is there a preferred way of dealing with data in this form?
You can use CHCSVParser to read and parse the .csv files.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I regularly process shipping labels that come from the shipping company as PDFs. Before printing them, we add to each one:
a white vector box to block out part of the label
an image of our logo in a different spot
These additions are always in exactly the same spot on the page.
I would love to be able to script this in some way. I'm pretty flexible with options -- I have an iMac, a Windows 7 machine and a Ubuntu server in the house.
Any suggestions?
I would say you have plenty of options here.
There are a lot of PDF libraries out there and many of them can read existing PDFs. If you are fine with commercial libraries and are willing to use .NET stack for the task then I can recommend you Docotic.Pdf library.
Here are samples:
How to draw geometrical shapes
how to use images in your PDF documents
Disclaimer: I work for the vendor of the library.