Questions tagged [resolution]

3

votes
3

answer
50

Views

Does Git keep a record of past merge conflicts?

I'd like to look at the repository history and see what types of merge conflicts have occurred in the past. My team lead is skeptical of feature branching workflows because he thinks that merge conflicts will always crop up and be hard to resolve. We currently commit directly to master and push/pull...
Stu
1

votes
0

answer
35

Views

How to approach focus stacking (super resolution) with GetUserMedia() in pure javascript

I have a use case where I will be capturing a video via GetUserMedia and extracting frames that contain an object. I would like to take the candidate frames and merge them together to create a sharper image. I know I can use Blend Mode Differences (https://en.wikipedia.org/wiki/Blend_modes#Differenc...
rmhrisk
1

votes
1

answer
452

Views

On some devices, Google Mobile Visions CameraSource returns low resolution image after calling takePicture

After I call: cameraSource.takePicture(null, pictureCallback); in the callback: private CameraSource.PictureCallback pictureCallback = new CameraSource.PictureCallback() { @Override public void onPictureTaken(byte[] bytes) { try { Log.d(DEBUG_TAG, 'On picture taken.'); if (bytes == null) { return;...
V.Bhat
1

votes
1

answer
54

Views

Python attribute resolution overhead

During attribute resolution, does Python check for each attribute if it exists in the class? If so, doesn't it incur a large overhead? For example, checking the attribute a.x. Python must first check if A.__dict__['x'] is a data descriptor (as they override normal attribute lookups), meaning it shou...
Bharel
1

votes
1

answer
50

Views

LinqToSql - Extension Method Resolution

I understand the preference is given to instance method over extension method during compile time resolution. However for LinqToSQL (or for LinqtoXXX) : Table orders = context.Orders var query = orders.Where(o=>o.name=='xyz') What is deciding factor for resolving above Where method of Queryable clas...
Rahul Agarwal
1

votes
0

answer
54

Views

How can I get notified of ProcessBean events for a producer method returning a type X?

A (valid) CDI producer method like this: @Produces public Integer fortyTwo() { return Integer.valueOf(42); } …is not observed by a (valid) portable extension's container lifecycle event observer method that looks like this: private final void processBean(@Observes final ProcessBean event) { /* ?!...
Laird Nelson
1

votes
0

answer
36

Views

Android change dpi screen programatically

I have an app develop for a Tablet Model resolution 1920x1200 and hdpi 1,5. But unfortunaly actually i have tablets with resolution 1920x1200 and dpi 1,7. I could change the dpi with de developer options (option less widht : 720->800) I could change the dpi via adb too. When i put the dpi on 1,5 the...
Javito Kanekanoa
1

votes
1

answer
370

Views

TFS always has conflicts on project files that it refuses to auto merge like it does for code files

EVERY SINGLE TIME I unshelve a changeset with add/rename/move/remove changes or have pending changes with such changes, I have to manually merge the parent project file which receives a lot of activity (the majority of the codebase is nested under the one project so its project file's version chang...
Elaskanator
1

votes
0

answer
17

Views

Set tiny custom screen resolution on Windows

I have a tiny LED screen (64 x 48 pixels) connected to the DVI port of my graphic cards. How can i extend my windows desktop, setting a custom resolution to 64x48 ? (Windows does not offer lower resolution than 640 x 480) On the web, I only found tutorials for beginner. Do you know any software who...
GGO
1

votes
1

answer
45

Views

Testing JavaFx App For Different Screen Resolution [closed]

This might seem a bit off-topic but I have a JavaFX app that I need to test(scaling) for different screen resolution. My problem is I have a Windows 8.1 PC running at maximum resolution of 1366x768 but I need to test it for 1920x1080, 1440x900,1600x900 etc. Any idea on how to achieve this will be a...
FX_Programmer
1

votes
0

answer
28

Views

How can I get a 4k image of webpage render without a 4k monitor?

We've all been there - a webpage formats correctly and looks great, but when we print it or html2pdf it breaks all the formatting. You can take a screenshot but the DPI (~70) is far too low for print where you need ~300 DPI. So, is there a tool or a way to trick your computer/browser into rendering...
Austin Heerwagen
1

votes
1

answer
30

Views

How to join divs or div content without JavaScript

I have this block in HTML: My objective is to join these two divs in only one at a certain range of media screen, but I don't know how I can do that without creating two different pages for each resolution (what's necessary for this situation).
Arthur Occhiutto
1

votes
1

answer
331

Views

How to improve the resolution of EffectComposer in Three.js?

I am using EffectComposer to apply skin effect to my avatar. However, the final resolution looks quite blurry compared to the version without post-processing. I have tried to change pixelRatio setting, but without much success. I'm using the code in the following example: https://threejs.org/exampl...
Igor Almeida
1

votes
4

answer
139

Views

How to resolve type on runtime in generics overloading java

I am tying to resolve type on runtime with generics. Here is my code. public class NewClas { public static void main(String[] args) { Object object = null; String string = null; Integer integer = null; // with out generics print(object); print(string); print(integer); // print(null); // this won't c...
1

votes
0

answer
257

Views

How To Support Screen 1080 x 2160 (One plus 5 T) 401 PPi ?

I try various option for One Plus 5 like values-xhdpi values-xxhdpi drawable-xxhdpi but didn't reflect text size and drawable? So what should be the values folder for dimens file and drawable for resolution 1080 X 2160?
SANU
1

votes
1

answer
25

Views

How to copy a resolved git merge to another branch

I have feature branches fb1 and fb2. A team member merged them into a new qa-branch-1. fb1 had pretty extensive merge conflicts. In QA, we found some issues with fb2, and he deleted qa-branch-1. He asked me to redo the merge conflict resolution. I still have my local copy of qa-branch-1, so is the...
1419636215
1

votes
0

answer
65

Views

Enhancing linear image resolution in R with vectors

I am iterating a ggmap request with google over a list of cities. Using the styles argument, I remove all elements except for roads. Please see the 1280x1280 image output below. There is a limit on the resolution of the image (1280 x 1280) but I want to print the cities out in higher resolution (pr...
Grantham
1

votes
0

answer
42

Views

Libgdx ResolutionFileResolver not working properly

I'm trying to implement ResolutionFileResolver in my libgdx project I've already created all the images with different resolutions and placed them in the appropriate drawable folders I set my OrthographicCamera like this: public static final int VIRTUAL_WIDTH = 480; public static final int VIRTUAL_H...
Umberto
1

votes
2

answer
254

Views

Html / PHP - Change image weight to load faster [duplicate]

This question already has an answer here: How to use thumb generator inside PHP script 4 answers couple days ago I have made a 'photo gallery' for me and my friends with a simple login system. Everything works, uploading photos, removing them using a root account, downloading photos etc. But the p...
Rabus
1

votes
0

answer
66

Views

git 2.17 fails to automerge

I recently updated git from 2.9 to 2.17. Now automerge fails almost all the time. For example, on one occasion I added some code in a file (let's call it x.py) in master. Then, when I tried to merge master into another branch (call it b), automerge failed to resolve conflicts in x.py, despite that t...
niko
1

votes
0

answer
590

Views

OpenCV 3.2 with Python 3 VideoCapture changes settings of v4l2

I worked with OpenCV 3.2 with Python3 and SBC OXU4. I have a true 5MPx web-camera connected to SBC. I want to take from this camera 2592x1944 resolution picture. If I use Cheese I can take picture with this resolution. I can save pictures with command line program streamer -t 4 -r 4 -s 2592x1944 -o...
Denis Chernov
1

votes
1

answer
68

Views

Git merge merge all tracking files(snapshot) or changed files?

Assuming we have three files 1 2 3 and they all have initial value 6 in each file (commit a) In branch 1, commits: a(666),b(166),c(126) d(663) In branch 2, commits: a(666),e(777) Where: b change file1 6 to 1 c change file2 6 to 2 d change file1 file2 back to 6 and file3 to 3 e change file1 file2 fil...
Kim Kim
1

votes
1

answer
43

Views

Resolutions Issues with CSS and HTML

I was making a website, with this HTML and CSS files : https://pastebin.com/Ldh12gt7 for HTML https://pastebin.com/8igc0DXm for CSS It renders perfectly on my browser, and also renders perfectly on other browsers, but on my PC. My resolution is 1920x1080, and the website is shown there https://i.img...
DanielVip3
1

votes
0

answer
35

Views

Can't set 360p video setting for streaming on iOS

I'm working on a streaming app. I was able to set 240p, 480p and all other settings for the streamer data output, excepts 360p. This is how viewer's screen looks like with 360p setting: I'm using HaishinKit as the streaming library (I don't think that's the problem). If I change the setting to 320 f...
Sweet Potato
1

votes
1

answer
161

Views

Fixing merge conflicts with git flow

I'm using the following flow: There's master, test and feature branches. Feature branches are branched from master. Pull requests are made from feature branches to test and then (when approved) from the feature branch to master. Whenever I make pull request from feature to test, there's a chance a m...
Cake
1

votes
1

answer
45

Views

Saving a high-resolution bitmap from vectors in Adobe Animate

Is there a way to let the player save a high-resolution image of the game, while still maintaining all effects? For example, I have glow filters set to 2px. When I use the regular drawBitmap, everything is pixellated and the filters don't look great. So I've started enlarging the movieclip to dou...
ola.rogula
1

votes
0

answer
130

Views

Git : Merge strategy for two developers working on same file

I get confused with gitlab merge. Here is the case: [Company Repo] Let's say that company repository on gitlab.com/bfi/sandbox company repository has branch master (snapshot of production) and test (snapshot of QA) each developer must fork the company repo to their repo work [Feature Request on Augu...
Timothy
1

votes
1

answer
66

Views

Find recommended monitor resolution in Windows

How can I find what Windows marks as the recommended resolution, normally also the native resolution. In many cases the highest supported resolution is also the recommended one, but some monitors list resolutions that are higher and even end up being out-of-range. I've tried several approaches, incl...
tjansson
1

votes
0

answer
39

Views

High Resolution Street View Image API Question

I need as high a resolution image of this location as I can obtain: https://www.google.com/maps/@33.7744488,-84.2143284,3a,90y,278h,72.36t/data=!3m6!1e1!3m4!1sBEBO0lt0HtFwfNKgJX_Vcw!2e0!7i13312!8i6656 I am not technical, but I did manage to get an API code. I have entered the coordinates into the...
user10475629
1

votes
0

answer
156

Views

git - bash script to automatically reserve merge conflict

My team routinely goes through merge conflicts because of a versioning file being updated on every build. The file is version.txt. This is where I've got to so far. I only want it to resolve the version.txt conflict by accepting either the current branch version or the incoming branch. When I use th...
Ludo
1

votes
2

answer
36

Views

Abort Merge conflict resolve midway

I merged branch A into branch B and got merge conflict in some files say 5. I resolved merge conflict in 2 files but now i want to abort the merge and want the 2 files for which i resolved the conflicts to go back as they were initially before resolving the conflicts. How do I do that.
noobToPro
1

votes
0

answer
30

Views

How to fix remote Matlab display resolution when using ssh -X?

I have a Desktop computer (Ubuntu 18.10) which I use for my heavy computations. When not at the office, I use my Macbook (Late 2012, retina display). I would like to run Matlab remotely from Desktop Ubuntu, onto my MacOSX using ssh -X. When I do so, Matlab opens using OpenGL rendering. I would like...
LeChat
1

votes
0

answer
55

Views

run python built game with macbookpro but at very poor performance (very slow)

I'm a newbie of python. Currently learning Python with Eric Matthes' 《Python Crash Course》. In the book, there is a project to build a game called 'Alien Invasion' with Python and pygame module. The game window size was defined as 1200*800. When I run the game in macbookpro (screen resolution is...
Bruce Hu
1

votes
0

answer
92

Views

Get vertical (z) resolution of a DEM raster file (using gdal & python)?

I would like to find the vertical (z) resolution of a DEM (digital elevation model) raster. Using gdal, I can easily find the x and y resolution and pixel width: dem = gdal.Open('DEMraster50.tif') #DEM is a rectangular tif ncol = dem.RasterXSize #number of columns (aka number of c...
Takver
1

votes
0

answer
15

Views

Any trained model to enhance the resolution of gray-scale images

I know there are some trained models that use GANS to enhance the resolution of RGB channeled image. Is there any trained model to enhance the resolution of a grayscale image?
Roshni Amber
1

votes
0

answer
30

Views

Android App. Download and use Icons at runtime

I have some questions regarding Icons in our Android App. We currently have a lot of Icon Sets in the drawable folder (like 20-30 Sets) which we use depending on which user is logged in currently. Each of the Icons exists multiple times for different resolutions (HDPI, XHDPI...). We don't like havi...
dest2412
1

votes
1

answer
90

Views

Adjust resolution of JAVA application Project (Chromis POS) on high DPI computers

I am trying to edit some layouts of Chromis POS, JAVA based Point of Sales application but when I run the project on my computer with high DPI resolution the program fonts are too small in size difficulting reading as attached image. The problem is that with the JAVA project within NetBeans I am una...
MGB.py
1

votes
0

answer
34

Views

How to know the nominal resolution of an image to use as an asset in flutter?

I have some photos of different sizes for different android and iOS devices. Like, a photo in 800x1280 resolution and in 540x960. Flutter Docs say that if I place those photos in a proper way, Flutter will use the best suiting one to my device as an asset. But how should I place them? Which resoluti...
Said
1

votes
0

answer
94

Views

Setting TIFF Image Resolution Unit to Inches

I am using the wonderful twelve monkeys library to create TIFF files, but I am having a problem setting the image resolution units to inches. I have spent 2 days researching both Google and the twelve monkeys source code, without success. I am hoping that someone else knows how to solve this. This i...
Disjoint Conjecture
1

votes
1

answer
38

Views

What values do root_x_return and root_y_return in XQueryPointer function represent?

This is just a dummy confirmation question but I really want to make sure the values I receive from calling the function XQueryPointer are in pixels for the X and Y screen coordinates. extern Bool XQueryPointer( Display* /* display */, Window /* w */, Window* /* root_return */, Windo...
isael garcia luis

View additional questions