how to programmatically add image/simple vectors to PDF? [closed] - pdf

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.

Related

Unreal Engine 4 In-game Screenshot [closed]

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=)

Photoshop & Gimp simpler alternatives [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
While doing web development, I often need to edit images. Not photos, not creative work, just simple editing. For example: adding shadow on a button, resizing multiple images, tweaking few pixels here and there, etc.
Photoshop always felt like a huge overkill (not to mention the price). Gimp's price tag is right, but it's still an overkill and somehow I feel clumsy while using it.
So what free/ open source Windows products are simpler yet do the same job?
Note that if product was really great, I would consider paying up to $50 but no more than that.
PAINT.NET
This may be an option. I know that I have used this in the past but it may not be exactly what you need. There are plugins for it though I believe.
http://www.getpaint.net/
you can use Paint.Net on http://www.getpaint.net/download.html
Its free

Files to request from designer for developer? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I've got a question that pertains to mobile graphic design & app development. I'll be using a graphic designer who will create the design, look and feel of the app. Then I was told to request layered .psd files to then pass on to the developer.
My question is: Are layered PSD files the only things that I need to request for the developer?
What other things should I consider?
Thank you all for your help...
They are good enough. Layers make your design more configurable. When you buy a layered PSD image you can easily get/delete/move an object (i.e. button) from that PSD file. Say that you have a button and you want to move it somewhere, you need a picture of that button (i.e. picture layer of an button) and layered PSD file contains that picture layer that you can easily obtain. Everything else is based on do you like the design or not. Simple as that.

Should the 'download' query string parameter work in the HTML5 SoundCloud player? [closed]

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 3 years ago.
Improve this question
I was looking at the Soundlcoud Widget docs
http://developers.soundcloud.com/docs/widget#
I noticed there is a parameter for 'download'. I tried it on the HTML5 sharing widget it didn't turn on the download link. Is there a way to show the Download link?
Example
http://w.soundcloud.com/player/?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F46911134&auto_play=false&show_artwork=true&color=ff7700&download=true&sharing=false
Thanks
This is actually the intended behaviour. A lot of the time, the widget is displayed in a relatively small frame, and showing all the buttons creates too much visual clutter. A redesign (to use icons, for example) is coming, but I can't give you a date on when that will be ready. In the meantime, the documentation will be updated.

Direct screen pixel/framebuffer access [closed]

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 3 years ago.
Improve this question
I'd like to try and create a program playing a game. I.e. "a bot".
I want to be able to directly access the pixels on the screen. I.e. have my program "see" a game and then "make a move"(or at least draw a picture of what move it would make).
Both Windows and Linux advice is appreciated, though my guess is that it should be easier to do on Linux.
I'm guessing this could be done with some X/Gnome call?
I'm not afraid of C, even complex samples are welcome.
SDL is a cross-platform library that allows you to directly access framebuffer pixels. You can learn about accessing the pixels on screen through the pixel access example on the documentation wiki.
Generally speaking, bots don't see the game graphics but see the underlying data structure instead, unless you are trying to do something related to computer vision.