Questions tagged [scaling]

Scaling refers to the image manipulation function of re-sizing an image. For issues to do with handling increasing workload gracefully in software or network components, see "scalabilty".

Scaling refers to the image manipulation function of re-sizing an image.

2497 questions
5
votes
2 answers

WinForms: How to fix incorrect scaling of Forms in high-DPI, multi-monitor environments (PerMonitorV2) with different resolution/scaling

In a Winforms app, I followed the general guidance in how-to-write-winforms-code-that-auto-scales-to-system-font-and-dpi-settings and in .Net Framework high-dpi support to enable PerMonitorV2 DPI Scaling. I am using .NET Framework 4.8 on a system…
JohnC
  • 81
  • 1
  • 5
5
votes
1 answer

How to set DPI scale to less than 100% on Windows 10 - With multiple displays

So I have a big 32 inch display with a resolution of 1440p, and I want to set the DPI scaling to 75% instead of 100%. But I can't find any way to do so on multiple monitors. I currently have: Display 1 [2560 x 1440] (Main display I want to…
RainMan
  • 51
  • 1
  • 1
  • 3
5
votes
1 answer

JFreeChart scaling of Boxplots with several Categories

i am currently working on a java-based project using JFreeChart to display boxplots. My Problem is how to display a chart containing boxplots for a CategoryDataset with about 20 Categories and 5+ Series. Currently if the preferred size of the…
dennis
  • 683
  • 2
  • 5
  • 18
5
votes
0 answers

Scaling a websocket broadcast server

I have a node js websocket server that acts as broadcast server connecting N clients. It uses memory to keep a state. I wanna scale it. I did some research and it seems that ALB + ECS should work. My questions are: Is it possible for the ALB to…
5
votes
3 answers

Handling a huge MYSQL Table

Hope you are all doing great. We have a huge mysql table called 'posts'. It has about 70,000 records and has gone up to about 10GB is size. My boss says that something has to be done to make it easy for us to handle this huge table because what if…
Imran Omar Bukhsh
  • 7,849
  • 12
  • 59
  • 81
5
votes
4 answers

how to revert glScalef()?

Im using glScalef() for zooming in my program, now when i revert it back to the original size with code: glScalef(1.0f/ZOOM, 1.0f/ZOOM, 1); It doesnt work very well in high zooms... (maybe because of the lost decimals?) How i can revert it back…
Newbie
5
votes
2 answers

Blurry downscaled images in the Chrome 84

After one of the recent Google Chrome updates, Retina images on my website became blurry. They are still Retina images (when I open the image in a new tab, it's a double-size image), but for some reason, they look blurry like non-Retina images. So,…
MikeRoss
  • 53
  • 1
  • 6
5
votes
3 answers

Mongo DB scaling question ( does indexes affect the 'distinct' performance )?

I'm using Mongo to store, day by day, all the "ticks" of a set of about 40 equity. These ticks contains the trade info ( a document containing price and volume ) and book info ( a more complex document containing sell-buy proposal ). The magnitude…
Felice Pollano
  • 32,832
  • 9
  • 75
  • 115
5
votes
1 answer

lottie-animated svg very pixelated/blurry in Safari but not Chrome/FF

macOS Mojave After Effects 17.0.2 (CC 2020) newest Versions of Chrome/FF/Safari and Lottie/Bodymovin When scaling a svg-animation in Safari (transform: scale(>1)), it will be rendered extremely pixelated/blurred. In Chrome and Firefox it renders…
Mr-Kobra
  • 51
  • 1
  • 2
5
votes
2 answers

Exceeding the 10k writes per second per database limit in Firebase (Cloud Firestore)

While reading the official docs I found that Cloud Firestore allows a lot more concurrent connections but the number of writes per second per database is limited to 10k. If I have 20k concurrent users and my application is write heavy(like a social…
Deb
  • 85
  • 1
  • 2
  • 10
5
votes
1 answer

how to apply back and forth scalling to all objects in fabricJS?

I have multiple canvas in one screen using fabricJS. I have added some ITexts, Text Box, Image, Background in each canvas. I have some scalling options, like 25%, 50%, 100% to 300% in increasing order of 25%. If my current default scale is 100% it…
Dr. Piyush Dholariya
  • 1,266
  • 16
  • 31
5
votes
2 answers

Parallel code execution in Docker containers

I have a script that scrapes data by URLslist. This script is executing in a docker container. I would like to run it in multiple instances, for example, 20. For that, I wanted to use docker-compose scale worker=20 and to pass the INDEX to each…
Daler
  • 73
  • 1
  • 6
5
votes
1 answer

Graphic rotated with GDI+ appears bigger than the original

Here is my experiment to draw an attitude indicator with GDI+. As long as I use just image.Canvas.Draw(-25, -410-slider1.Position * 4, horizonBitmap); horizonBitmap is transferred 1:1 to image. But when I try to transfer the image with GDI+…
Paul
  • 25,812
  • 38
  • 124
  • 247
5
votes
1 answer

How to divide a large Django project into sub projects for scaling?

Django project(e-commerce website) that we need to divide into sub-projects as a Buyer, Seller, and Admin and will create three databases accordingly. So how can we manage the same Models(Schema) in 3 projects if it is updated in one project?.
Afsal KK
  • 603
  • 1
  • 11
  • 15
5
votes
1 answer

mutate_at in R with lambda function?

I have a dataframe with 100 columns. Each column represent a probability value. I want to do scaling there and I am using the following transformation: df <- df %>% mutate_at(vars(specific_columns), funs(function(x) {((x -…
SteveS
  • 3,789
  • 5
  • 30
  • 64