Zoom A Particular Area Of Image?
Feb 26, 2010How to zoom a particular area of Image in vb.net
Like e.g.,(50,50,100,100)
how to zoom this small region of an image I Already know how to zoom an image but not how to zoom a particular portion
How to zoom a particular area of Image in vb.net
Like e.g.,(50,50,100,100)
how to zoom this small region of an image I Already know how to zoom an image but not how to zoom a particular portion
I was wondering how I could draw an image using GDI, zoomed, like a PictureBox set on Zoom (SizeMode). How does that algorithm work?
View 5 RepliesI was wondering how I could draw an image using GDI, zoomed, like a PictureBox set on Zoom (SizeMode). How does that algorithm work?
View 10 RepliesI am more interested in the "Pan" feature. I haven't seen much on this so far.
View 5 RepliesI am stuck on crap picturebox image and it makes zoom on others picturebox.
View 1 RepliesI am trying to perform Zoom and Pan the image in Picture box using the following The Width and Height of the picturebox is (1024,1024).
Private Sub Picturebox1_Paint(ByVal sender As System.Object, ByVal e As System.Windows.Forms.PaintEventArgs) Handles Picturebox1.Paint
If Mouse_Operation = "ZOOM" then
ZoomWidth = 1024 * Total_Zoom_value
ZoomHeight = 1024 * Total_Zoom_value
[code]....
Total_Zoom_Value and (imgx, imgy) are calculated based on the mouse movements on the picturebox.Now I am able to do the PAN operation after Zoom operation. But If i try to do Zoom operation after PAN operation, I am not able to Zoom the image from the PAN co-ordinates (imgx, imgy). I am not getting how to retain the image drawn using e.graphics.drawimage.how to do the operations on e.graphics.drawimage.
I'm considering a personal learning project. Using .NET(preferably VB) I want to build a simple desktop app that's only function is to display comics, like CDisplay, but with more advanced navigation. I want to be able zoom in by clicking on certain areas of an image, individual panels for instance, and have the zoom area automatically snap to the panel and blow it up. The images are usually in a standard format like .jpeg, .png, etc..
Something like this is what I'm going for: [URL]
I'm not even sure what this is called? Image mapping? Tone mapping maybe? Is it possible to do this within .NET or would it require some kind of outside library? Code samples would be nice, but obviously this is pretty vague request.
Im looking for an image viewer that supports most types of image formats, including PDFs, and has the ability to rotate/zoom, and draw on an image. I've been looking but to no avail. Does anyone have any suggestions on the best way of going about modifying a control so that I would have these features? The main problem that I am running into is the lack of the ability to draw on an image. Im still sort of a newbie to .NET,
View 2 RepliesHow can I zoom into monitor to see a pixelated image of the screens content?
View 2 RepliesHow can I zoom in/zoom out screen display? This is to be used for people having eyesight problem. I want to control the screen resolution by percent and not to any fixed size provided in control panel/display settings.I have to control the output of the main display and zoom in/zoom out by percent, according to user's eyesight matching
View 3 RepliesIs there a way to zoom in and zoom out document in webbrowser?
View 1 RepliesI'm working on a small project for the fun of it. One of my hobbies is astro-imaging and I take pictures of planets, nebulae gallaxies etc . One of the more challenging targets is the International Space Station. I have had some success with the ISS by manually aiming my telescope as the Station moves across the sky.
What I am trying to achieve is to write a program that will lock onto the brightest area of a webcam image. If the brightest area (which will be the ISS) is off center, then commands are sent to the telescope to recenter it.
So far I have been able to write code that talks with the scope, and I have been able to get a webcam stream to show on a Form.
So the last piece of the puzzle (well I am sure there will be other things that have to be worked out) is to identify the brightest area of the image. I am scratching my head as to how I should accomplish this.
I'm thinking I should dump pixel information into an array maybe, and establish which line and column has the brightest average values (I could then draw a cross hair over the image).
i am new to vb. i have created a program which has work areas/image areas. i can create as many as i like and i have created a code to delete a work area. but i cant delete more than one and i cant find out how to fix the problem i will post my code so you can see what i have out so far,
[Code]...
I need to load a picture and save some areas into a database (like you do it on Facebook when tag peopple into pictures).I need to save de selected area and then, in another form, show the picture and the selected areas in blue?
View 1 RepliesI am currently working on image cropping software. Any idea how to make image under rectangle to be clear and outside area translucent?
View 5 RepliesI'm working on a Vb.net project. I have a form with a RichTextBox or a simple TextBox control. It contains hundreds of text lines, so the control has to be scrolled.
I want to send to a printer only the lines that are currently seen on the control window.
That is, I want to convert what I see into an Image and then draw that image thru e.Graphics.DrawImage.
As you can see, it could also be the case of a ListBox, a TreeView or any other scrollable control.
How can I grab that rectangle area and then convert it into an Image? The rest I already know how to do it.
i have a program with the ability to save view and scan images. i am currently working on making work area's. so i have two list box's. listbox one is for the image area name. listbox2 is to list the pages in selected image area (mouse click). i have created the form to show you and i will post a link below. i have started trying to do it but have got stuck. i use an input box to give the image area's names. but thats as far as i have got at the min.
i need to be able to make image area's and list/view the images in my picturebox. plus i would like to create a folder or how ever many the user makes behind the scene thats called whatever the image area is called and in that folder is the images the user has saved in that folder. sorry if this is hard to understand. i have asked on another forum but i didnt get what i wanted it to do.
[URL]
i have gave you a link so you can see what my form looks like so you have a slight understanding on what i want it to do. its work in progress so sorry if it looks rubbish.
by the way i can save an image but it only saves it one certaint place and i cant save more thasn one as it replaces the image. and as for the scanned image thats the same.
Is it possible to scan the pixels in webbrowser for an image that was loaded into my resources and then click on it? What I want to do:Have a reference image in resources Scan webbrowser1's PIXELS to see if it appears on the current page,Then if it does, Click somewhere in the region of the image.I do NOT want to search for a .jpg .png .gif .bmp etc. in the webbrowser.
View 10 RepliesI created a Zoom in and Zoom out function for my application and it works great. I would just like your opion on my code, because I am wondering if it can be done a bit neater and more effective.
ts = ToolStrip
cms = ContextMenuStrip
vb.net
If Me.Font.Size < 30 Then
[Code]...
Me.form.font changes the font of all the controls except toolstrips, contextmenu's and menustrips.
Any idea's if this can be done any neater or how you can make menustrip etc.. use the font of the form?
Edit:This is the Zoom In version btw. The Zoom out is identical except it uses - instead of + when declaring the newFontSize.
I am using the following code to place a rectangle around a form / form control, however what I want to do is make my screen grey and only the form / form control area be displayed in colour.
Code:
I have googled for ages trying to find something on this, but with no luck.
To illistrate this better they are using the same functionality in snagit 10, please see below link to a page that has a video link showing this (23 sec into video)[url]
how to create a specific area to drag my form (ie: image, label). I found some code that works, however you can click anywhere and have it drag...
Const WM_NCHITTEST As Integer = &H84
Const HTCLIENT As Integer = &H1
Const HTCAPTION As Integer = &H2
[code]....
I have to create an image that is to mimic a single clock rotating hand within a square area,and the user has to choose the width and speed of the rotation and the direction.i managed to create the square area with a hand inside,with this codes and variables,
(Dim Mygraphics As graphics = e.graphics
mygrqaphics.Draw Rectangle(pens.color x1,x2,y1,y2)
mygraphics draw line(pens.color,x1,x2,y1,y2),now i have to find codes and variables to rotate the hand or line within a square area.one point remaining constant the other moving.
vb.net how to add functionality of zoom in and zoom out
in AxWebBrowser in vb.net using buttons .
I am able to do it using ctrl + mousewheel but how to do it programatically.....
If I open an excel file in the axwebbrowser then this functionality will work or not ..
how to zoom in and zoom out a richtextbox in vb.net.
View 4 Repliesi have map of a State, i need to let the user to Zoom in amd Zoom out and show some buttons on the Picture if we zoomin or zoomout the buttons also will be moved according to the location like google map how to achive this?
View 9 RepliesTrying to set the viewable area to a smaller screen area and have it cycle through as the person moves using collision detection to move the backgroudn image. Here is the start but its off to a bad start so far.
Public Class Form1
Dim Mapx As Integer = 600
Dim Mapy As Integer = 2000
[code]....
Basically the forum size is set to 600x2000 but the client should only allow you to view 600x600. I want it to add +1 once you "collide with a invisable box I'll add and this will redraw the screen.
I designed a form and managed to fit graphics inside it. Picture box is 465 pixels high. Form1 is 500 pixels high. SnapShot of the screen verifies that the 500 pixel height is the overal height. It includes the upper Bar and lower frame. Is there an instruction to set the From's inner pixel size and not overal?
View 2 RepliesI guess thats what I need to do, Im trying to allow the user to right click on the top of my form, and my custom Context Menu Strip is displayed, not windows context menu strip. I guess somehow i would need to get the size and draw a rectangle on the non client area and see if the user has right clicked in that rectangle? if so how would I get the area of the non client area?
View 7 RepliesI am a new visual basic programmer. I have found that with Chrome I can press CTRL-+ and the screen will zoom in and CTRL - and the screen will zoom out. I have not figured out how to do this with webbrowser1. Is there something I can do, such as:
[CODE]...
I need to zoom a form with many controls on it. I'm making a web maker project for Vietnamese but I don't know how to zoom a page (form without system bar)
View 2 Replies