Proper Scaling and Zooming into Window in QGIS - qgis

My attribute tables and icons are tiny in QGIS.
I believe this may be because I have a new high-res monitor.
Check out my screenshots - everything is super tiny. And in the attribute table, the row heights are not right.
Also - How do I zoom into the attribute table?? Normally this is ctrl-mouse wheel or ctrl+/-
Can't seem to find an answer to my question anywhere.

The answer is given by #Stu Smith here, with some clarifications that we worked out.
The detailed directions are here, written well for layman's, with step by step instructions and a nice video.
What's great is you can do this for any program you're having a problem with.
It's super easy, a 2-step 5 minute process. You have to add a file in the registry, and then in the Program Files folder, add another file.
Couple notes:
*For qgis specifically: where the following file is: qgis-bin.exe rename the file to add to the folder to qgis-bin.exe.manifest.
*When I chose decimal and reopen it, it shows that it's back to hexadecimal. This doesn't matter at all. An explanation is on the bottom here.
*The resolution will be lower, and things will look that way. In this case, not really a big deal, should affect your results, but not sure with programs where resolution matters, like Photoshop. Anyone give their experience or knowledge with that in the comments.

Related

Converting spritemap & animation instructions into video

i've got an image with detached body parts, 1 file showing where each one is and another showing where they go and how they move. it looks like it was made in spine.
those files are from a unity game
i've found a tool (https://lib.haxe.org/p/OpenFl-Animate-Atlas-Player/1.9.3) that i thought would do exactly that but it seems to not work, or i don't know the correct terminology with which to search for
so if anybody knows a tool that can convert those files into a gif/video it'll help a lot
if i left something out here are the files themselves: https://mega.nz/folder/ko01xQjI#pfiVzEf9Oy1q1hINwSwUhA

SFML: unable to open .png file

It may sound like other questions related to this matter but I don't have any problems opening rectangular .png files. Seems like my computer has problems only with non-rectangular pictures (e.g. triangular play button without the background). What can be done? I think there's no need to provide a reproducible example. Appreciate all the help.
EDIT: the error is as follows
I think you forgot to put your picture in your project folder because I once made that mistake for a game that I made. You should also maybe remove Resources/res/ from the loadFromFile code.
I'm using rectangle and circle shapes with textures loaded form file without problem, transparent .png's too. If you are absolutelly sure that your code is correct, you got correct file address etc.. Maybe there is a problem with image. Try to load some another image where you 100% know that it works fine. Maybe your antivirus is messing with your projects,. Check if you have exception for your project directories. I could be more specific if you provide some code of your attempt to us.

How do I create a test app to create many screenshots in UE4?

I'd like to create a test application for my Unreal Engine based game to create screenshots. I'd like to place many (possibly thousands) of cameras throughout the maps and then have my test application enumerate them all and take a screen capture at each camera location.
I came across Taking Screenshots, but wanted to first check to see if this isn't already built into UE4 in the editor, or some tool. I'm also aware of the Screenshot Comparison Tool, but that doesn't seem to be what I need because I don't really want to use UE4 to do the image matching, but instead just want a directory full of images that I can do with what I want.
Any suggestions?
This is not directly what you want to do but I found this article very interesting: https://www.unrealengine.com/en-US/blog/capturing-stereoscopic-360-screenshots-videos-movies-unreal-engine-4?sessionInvalidated=true
It explains how people at Ninja Theory Ltd proceeded to produce their 360 video trailer which is, in the end, producing two 360 screenshots per frame.
So what they did was having everything exported in a folder (as a sequence of images) and then did what they wanted with it. (In this case put them all together with ffmpeg to make a video)
They used a plugin, I do not know if it can be tweaked not to make 360 captures but the built-in "take screenshot" from UE4 could work for you.
More specifically to what you need, you could probably store all positions/transform in an array, loop over it when you want to make the screenshot. Each step, you place your Camera at the specific position, make sure it is the current active camera to change the "view" and take a screenshot.
Taking screenshots and setting parameters such as export folder, resolution etc. ... can be called via console commands and console commands can be executed from code or blueprint using the "execute console command" node (there is an example in the article).
I hope it helps.
I think the best bet you have is rendering camera to a texture.
this way you can have multiple inactive camera then iterate through them, activate them, capture their screen view and going to the next one.
for basic tutorial have a look at
https://www.youtube.com/watch?v=a9iho861SlY

Displaying large PDF document iPhone

After many hours of googling I thought I would see if anyone knew the answer.
I have a large PDF file (30mb) which I was using the UIWebView to display but it is painfully slow when trying to scroll through pages and when you rotate the iPhone/iPad it doesn't draw properly on the screen till you have scrolled through a few pages.
So I have been looking into using the CGPDFDocumentRef to display the PDF. Before I go any further is there an easier way to do this, or any examples/open source solutions to do this before I spend a long time trying to replicate the UIWebView or something similar to display a large PDF.
I assume someone else has had this problem?
Many thanks for any help
I've been building one of these for a while now. I'll tell you, both approaches have difficulties. The CGPDFDocumentRef path is the one that I've taken, and it's worked out pretty well.
A good place to start is here, with Apple's example, ZoomingPDFViewer. You'll get a good idea of how that CGPDF* stuff works. If you're looking to put something together in a hurry, you might want to start with this guy's example. In fact, the author's website has a huge list of resources to use when you run into problems.

How do I determine if an image has been photoshopped?

Does anyone know how to tell if an image has been photoshopped?
edit Specifically, I want to determine if regions or pixels in the image have been altered by photoshop. I'm not as interested in finding errors in the photoshop job (missing shadows, errors in reflections, etc)
I seem to remember something like a high-pass filter that you could use that would determine the noise levels. Edited regions would have less noise, or at least changes in noise. I'm having a hard time finding information on this or other approaches.
Thanks for your help!
I use this website to check if an image is photoshopped or edited:
http://imageedited.com
HOWTO spot a photoshop job
How To Tell If A JPG Image Has Been Photoshopped (Windows)
Google is your friend for many relevant results.
maybe fotoforensic works. its an online program to compare the no of times a photo has been compressed. the no differs for the original image and the added image. hope it helps u.
http://fotoforensics.com
I would give a try with error level analysis:
http://www.errorlevelanalysis.com/
Follow the links on that site and maybe get in contact with the author, I'm sure they can give you the needed pointers.
The first thing that you have to check is the properties of the file.
If it was last save via photoshop, there should be a meta data under "details" -> "origin" -> "program name". :)