Questions tagged [zooming]

Zooming is the act of enlarging something (a document, an image, a map) to view it in greater detail. (DO NOT USE for questions about the Zoom communications platform; instead, use [zoom-sdk].)

Filter by
Sorted by
Tagged with
0 votes
1 answer
29 views

Editor or Entry texts are blurred after scaling in Mac/iOS

I have used entry control in my .net maui app , So have tried to zoom the entry control the text is blurred.Download Screenshot Have tried FontAutoScalingEnabled property and handler also but it is ...
SalmanBaris's user avatar
0 votes
0 answers
18 views

SwiftUI scrolling is restricted to certain part

I want to zoom a video and also scroll after zooming in. But once I zoom in it only allows me to zoom according to the scale of my pinch gesture @objc private func pinch(gesture: ...
Sudeep More's user avatar
0 votes
0 answers
10 views

error crash and Exit the application because i used library for zoom in and out and this library support sohw imaged from url by bitmap

it's exit whent flip quickly from recyclerview and the code i used is: Glide.with(getApplicationContext()) .asBitmap() .load(Uri.parse(list.get((int)(_position)))) .into(new CustomTarget<Bitmap&...
GAME OVER's user avatar
0 votes
0 answers
20 views

Java- Zooming around mousePoint and Selection afterwards

I want to add the zooming function around the MOUSE, but I want to keep the unscaled values because I need to used it to selected item afterwards. The select item works perfectly before the zooming ...
Frédérique Soulière's user avatar
0 votes
1 answer
26 views

JSXGraph: Board without ability to zoom and pan

I don't have much experience with JSXGraph and I have a basic question. How can I create a coordinate system that cannot be zoomed or panned? I tried: "var board=JXG.JSXGraph.initBoard(divid, { ...
Matthias Geissbuehler's user avatar
2 votes
0 answers
25 views

Override Webpage CTRL + zoom action

How to Override Webpage CTRL + zoom action. Like in Figma CTRL+ zooms into canvas instead of whole page. Also I want to utilize Mac version of such zoom Command+ What Web API should I use? Can you ...
Self Smarted's user avatar
0 votes
0 answers
23 views

Rescaling pixels positions after augmented resolution of the movie

I need help understanding the rescaling of coordinates pixel position (X,Y) of the center of an object in an image after rescaling from 64x64 to 640x640. I explain: To use a deep learning tracking ...
Souchan's user avatar
0 votes
1 answer
38 views

Zoom function in canvas with MVVM pattern in WPF

I have been converting my app to MVVM pattern. I am trying to figure out zoom in function. There is canvas panel and ellipse in my project. The problem is zoomIn function is working but only when ...
Gokhan's user avatar
  • 455
0 votes
0 answers
28 views

How can i zoom the background to the center point without using background position in css?

Html <div class="board"></div> JS Drag function var mouseProperties = { mouseState: false, prevX: null, prevY: null, } var debugMode = { appDebug: false, ...
Onieone's user avatar
  • 29
0 votes
0 answers
66 views

Why doesn't mobile html input zoom back out when done?

This might well be a duplicate of this 8 year old question, but there are no answers there and the only comment links to a related, but irrelevant question about how to prevent the zoom-in altogether. ...
Sideways S's user avatar
0 votes
0 answers
19 views

How to add zoom and pan features in canvas image using Javascript?

We have a 3D image that we converted to blob object and loaded into the canvas. It returns array buffer of the 3D image. We use "const canvasImageData = ctx.getImageData(0,0,canvas.width, canvas....
Sunita Patel's user avatar
0 votes
1 answer
72 views

I want to zoom in an image in C SDL

I need to take an image m * m and return an image n * n. I have this code: void Zoom_Filter(SDL_Surface* surface) int newsize = 28; Uint32* pixels = surface -> pixels; Uint32* pixels2 = malloc(...
Iupyou's user avatar
  • 37
0 votes
0 answers
41 views

linesvg data mapping issue in D3.js zoom and pan

I've implemented zoom and pan functionality on chart and I'm experiencing an issue. While Zooming and panning, the x and y scales adjust correctly, and the lines expand and shrink as expected. However,...
Lakshmi's user avatar
0 votes
0 answers
38 views

How can I drag and zoom properly with SwiftUI?

I'm trying to implement a drag and magnification gesture on an image. Seems very difficult to do with SwiftUI ! I managed to make it work, but I still have 3 problems that I can't solve : ...
Eric's user avatar
  • 592
0 votes
0 answers
47 views

Zoom animation C# Wpf

I want to add an animation effect to my Wpf project. The animation should be slowly zooming the object in Canvas Panel. I found a good article on CodeProject website. But it zooms to the upper-left ...
Gokhan's user avatar
  • 455
0 votes
1 answer
63 views

How can I limit the zooming/panning range of my plotly.js scatter plot to the minimum and maximum data values?

We have a scatter plot in our AngularJS application based on Plotly.js. We are able to zoom and pan the chart beyond the minimum and maximum values of the data on both the x axis and y axis. We would ...
gib65's user avatar
  • 1,765
0 votes
1 answer
64 views

Zoom in and out PIL image

How can i get the image always in the middle of the window even if i use drag in xview? this is the code : from tkinter import * from tkinter import ttk from PIL import Image, ImageTk import tkinter ...
Hini Med's user avatar
0 votes
0 answers
23 views

Vertically centered element when zooming

I want my element to be vertically in the middle of the body (viewport). The problem is when zooming a page, my element is cutoff (just a part is visible). There is no scrollbar. Since I use Vite ...
SRBDeveloper's user avatar
0 votes
1 answer
23 views

Dygraph javascript to PNG incorrect zoom

I have a question regarding dygraphs in javascript. I have created a graph and want to export it to a PNG image: function drawChart() { g = new Dygraph(document.getElementById("dg_div&...
Samuel Haeck's user avatar
0 votes
0 answers
24 views

What causes zoom jumps/imperfections in HTML

We are testing out a Javascript "Excel" library called jExcel and encountered an issue we have no idea if its a problem in the library or some other (browser?)setting. We are testing with ...
ArturM's user avatar
  • 179
0 votes
1 answer
65 views

CSS transform-origin + scale triggers offset while zooming to cursor point

I'm trying to implement zoom in/out functionality for regular div elements (not canvas) by using transform origin and scale CSS properties. Everything works as expected, except that after changing the ...
Maksim Murza's user avatar
0 votes
0 answers
39 views

How to zoom in and out with Moviepy

I have a video in 1080P resolution and need to perform various editing tasks, including rotation, cropping, trimming, and zooming. While I've successfully applied all these edits using MoviePy, I'm ...
Oded's user avatar
  • 356
2 votes
1 answer
209 views

Calculating svg transform values for zooming-in and dragging an image

We have available svg area of 1300x620px, wanting to vertically and horizontally center 300x500px image with ability to zoom in and out, with default zoom level of 3. We start by calculating the image ...
Stanimir Stoyanov's user avatar
-1 votes
1 answer
33 views

What is the name for a bidirectional scatterplot zooming tactic?

I am seeking the name for a visualization tactic which shows axis scale magnification for both the x and y axes as the cursor over the chart moves around. Like a chart with dygraph zoom scrolling on ...
Lonnie's user avatar
  • 86
0 votes
0 answers
42 views

React - How do I zoom-in to a particular coordinates in world-map svg?

I have implemented world map SVG with 'react-svg-worldmap' library. To add, I have used 'react-zoom-pan-pitch' library to zoom-in, zoom-out and reset features in my world-map. In the map, I have added ...
jsonahn's user avatar
-1 votes
1 answer
95 views

`zoom` CSS property and font-size in safari

My website is kinda responsive on dektop, but when it comes to iPad or tablet-sized devices, it's awful. This doesn't come from the layout which is ok, but everything is just too BIG, making the ...
Truite Séchée's user avatar
0 votes
2 answers
33 views

Limiting the bound of an image while panning/zooming using javascript

i want to limit the bound of my image while panning, thus, the left of the image should not go beyond the left edge of the container when panning from left to right and the right edge of the image ...
fetoffah's user avatar
0 votes
1 answer
105 views

Customizing inset_zoom connector lines

Hey I'm new here and also relatively new to coding and plotting in Python, I tried to use the inset_zoom feature of matplolib but have some difficulties with the customization of the connector lines. ...
Pukah's user avatar
  • 3
1 vote
0 answers
68 views

Zoom to Mouse Pointer using AffineTransform and JScrollPane

my goal is to implement an image viewer, where one can zoom to the mouse position and the JScrollPane correctly response to this zoom gesture. Also the possibility to roate the image would be nice. I'...
Displayname's user avatar
0 votes
0 answers
14 views

D3.line.defined Information gets lost when zooming

I am using D3.line to display measurement data of an oscillator over time. The sensors view is blocked from time to time, to samples are missing. These are identified via timestamp. To show when ...
GvTT's user avatar
  • 11
0 votes
0 answers
32 views

How to add pinch zoom in/out to Android Studio ImageView?

For a while now, I have been struggling with adding zoom in/out to my images in Android Studio Kotlin project. I have tried numerous things from different sources and nothing worked. Does anyone have ...
Striving Programmer's user avatar
1 vote
0 answers
66 views

How to add zoom in/out to an ImageView in Android Studio?

I have been attempting to add a zoom in/zoom out to my ImageView in Android Studio app, so that I can pinch or double tap in order to activate the zooming in/out. Lately I tried using Zoomy library, ...
Striving Programmer's user avatar
0 votes
0 answers
61 views

Zooming a big bitmap in a picturebox in c#

I am writing a modding tool having an interactive map. Image of the moddingtool and the map in question The map is movable via the buttons and the image should also become zoomable. But I just cant ...
Minnator's user avatar
0 votes
0 answers
47 views

How to create zoomed-in views of an image

Environment: Windows 10 / software: Irfanview, Imagemagik, R For a PPT presentation, I'd like to create several (3-4) images obtained by zooming into a base image, keeping the image size the same and ...
user101089's user avatar
  • 3,798
1 vote
0 answers
61 views

Zoomable AsyncImage like Instagram

I would like to zoom my AsyncImage with two fingers and when I stop zooming it should come to previous original scale 1f. What I could achieve is that I could zoom my image, but it doesn't work well ...
christianalready's user avatar
0 votes
1 answer
37 views

Reset Zoom of Interactive Altair

I would like to have a way (button for example) to reset the zoom in or zoom out to some start of an interactive plot from altair. Here is some reproducible code: import altair as alt from ...
Quinten's user avatar
  • 36.6k
1 vote
0 answers
45 views

JavaFX pan-able zoom-able canvas

I'm new to JavaFX and I'm having trouble creating a pan-able zoom-able canvas. What I want to create is a Canvas within some Pane (with the area within that Pane visible) that can be panned around to ...
vperse's user avatar
  • 35
0 votes
0 answers
48 views

Zoom in a Forced Directed Chart in Amcharts 5?

Is there an equivalent Amcharts4 option to: chart.zoomable = true in Amcharts5 for a Forced Directed or a Treemap Grapth (Hierarchy Graphs)? An option for Amcharts5 to make a Hierarchy Graph zoomable. ...
Eva GR's user avatar
  • 1
0 votes
0 answers
16 views

Is this the best way to pan to (x,y) using D3.js?

I have a vector map containing smaller svg figures within it and I'm trying to figure out the best way to zoom+pan to these figures when the user selects one of them. Since I have the coordinates for ...
jansyb04's user avatar
  • 153
0 votes
0 answers
56 views

press to zoom/pan image in flutter

I want to zoom an image ( which is already loaded to an ImageProvider ) to 2x when I press my finger on the image. It should also move the zoomed part of the image when I pan my finger over it. I'm ...
Plato's user avatar
  • 89
0 votes
0 answers
57 views

How can I invoke the zoom functionality of my Plotly.js scatter plot without using the toolbar in my AngularJS application?

I posted this question at the Plotly.js forum here: https://community.plotly.com/t/how-can-i-hook-into-the-zoom-feature-of-plotly-js-charts-without-using-the-toolbar/78239. I am posting it here as ...
gib65's user avatar
  • 1,765
2 votes
1 answer
92 views

How to implement zooming with a mouse wheel in Jetpack Compose Desktop?

I have a desktop application in which i want to implement zooming and panning behaviour, like in this question, but without scrollbars. However, i don't know how to allow the user to wheel-zoom on an ...
Andrew's user avatar
  • 21
0 votes
0 answers
60 views

How to disable zoom functionality on a React.js app running in a docker container in a Debian environment?

I have a react.js app which I want to make not possible to zoom on each page. I did this and it worked for me when i was running it locally on my Windows machine in vscode. Then I deployed it to my ...
Angel Hadzhiev's user avatar
0 votes
1 answer
76 views

Creating a 'Magnifying Glass Effect' for Google Maps using API

I am able to zoom into Google Maps using the normal Google Maps API features. For example I draw a bounding box on the map, and the Google API will zoom in by the amount set by the default value. ...
Alexander's user avatar
  • 135
0 votes
0 answers
47 views

Constraining Folium Map navigation within a bounded area

I aim to generate a folium map centered on a specific location while imposing limitations on user movement outside a defined zone. First, we can set a minimum zoom level to prevent excessive zooming ...
John Smith's user avatar
  • 1,656
0 votes
0 answers
6 views

Android relative canvas scaling (depending on an offset)

I draw items on my canvas with scaling and adding offset (for dragging) Rects are drawn with top, left, right and bottom multiplied by scale value and added offset, for example left = defaultLeft * ...
Nikitiy's user avatar
  • 35
1 vote
0 answers
24 views

Responsive Design Issue: Elements Displace and Overlap When Zooming In/Out

I'm a beginner in web design, and I'm encountering a challenge with responsive design on my website. When I zoom in on my site, the elements within the container spread too far apart, leading to a ...
Haider Ali's user avatar
0 votes
0 answers
15 views

C# shifting the focus in chart on last samples

I have a datatable with values (first column is the timeline (X axis) and the second are the values). This datatable is continiously updating and I need to show only last few 100 samples so Im using ...
Jan Hakl's user avatar
0 votes
0 answers
63 views

How to calculate the pixels to center a scale?

I have 2 images inside of 2 separate divs. The idea is that when I hover on the full image in the first div, the image in the second div will have a zoom effect and it will be centered, the second div ...
dreid's user avatar
  • 173
0 votes
1 answer
54 views

How to get coordinates of content node within ScrollPane?

I'm trying to implement a ScrollPane with similar functionality as CorelDraw/InDesign: A piece of paper within a ScrollPane that can be moved around (Changing ViewPort) and that can be enlarged/ ...
haerta's user avatar
  • 1

1
2 3 4 5
122