Resize Images In Program?
Jan 27, 2010
I'd like to make a simple VB utility to resize images using vb.net. I am having trouble figuring out what vb class to use to actually manipulate the images. The Image class and the Bitmap class don't work.
View 2 Replies
ADVERTISEMENT
Jan 20, 2011
I need to loop through a very large collection of images and resize them all to 400x600 pixels. Is this possible?
View 5 Replies
Aug 17, 2011
I need to know how to make the web application crop an image and resize it as a thumbnail to use it later on in the application?
View 3 Replies
Jul 7, 2010
I'm using a web cam that takes 320 X 240 pictures. This sort of gives the picture a "landscape" look to them, and I need to re-size the pictures to a 169 X 225 "portrait" picture. Its for a badge program. Anyway, when I re-size the pictures, they get all scrunched up because of the difference in aspect ratio. Is there a way to re-size the image and the aspect ratio at the same time? Would this be considered cropping or resizing? I'm a little confused on where to begin. I mainly use VB, but if someone has a good example in C#, ill take the time to convert it.
View 3 Replies
Jun 12, 2009
I had a project which will have a function to resize the images in the picturebox..i've seen some code snippet in resizing the images. The code works fine but it automatically resizes the image when i run the program..what i need is that the user will be the one who will resize the pictures..does anyone knows how to do this? i'm using vb 2008.
View 8 Replies
Dec 13, 2011
I'm using VS 2010 and MySQL 5.5. I've got a data grid view displaying the results of queries entered by the user, shown below. It works; the trouble is that if there's an image in the results, you'll only see a cell-sized very long thin strip of it.
So I want to a) resize any images to a reasonable thumbnail height (say, 100 pixels, naturally maintaining aspect ratio) when displaying them, and b) resize the row to fit them.[code]...
View 5 Replies
May 17, 2010
I have a Form1 where i can add usercontrols during runtime. I draw their appereance in the OnPaint event using the GDI+ engine. The greate part is that i want to be able to resize these images during runtime wich goes pretty well now cause i draw points in percentage of the control. Unfortunetly it is very difficult to draw nice images/drawings ect with the GDI+ engine. Is there any other way in doing this?
[Code]....
View 7 Replies
Jul 20, 2011
Imports System.IO
Public Class Form3
Const IMAGE_DIRECTORY As String = "C:images"
Dim files As String() = Directory.GetFiles(IMAGE_DIRECTORY)
Dim max_length, i As Integer
Dim s, fname As String
[Code]...
I simply want to have a list of all graphics saved in specified folder displayed as miniatures - this suppose to be a sort of an image browser - it does not have to be done using ListView, so I'm open to any suggestions.
View 3 Replies
Sep 13, 2010
I have a program in C++, that is doing some calculations. I use a vector in C++ and resize the vector in the program, in order to conserve and allocate memory. Can you allocate memory in vb.net? So if my user inputs 1000, I want an array/vector to have a size of 1000. Can I change the size of the vector in the program? And is there a difference between container types in vb.net, I was just assuming
Dim xx(1 to 1000) as double, is the standard way of declaring.
And resize xx(1 to N) would be the way to resize.
I am using visual studio 2008 express.
View 17 Replies
Aug 24, 2009
I got the start function, but know i wanna resize the program i am gonna make it start
Private Sub Button1_Click(ByVal sender As System.Object, _
ByVal e As System.EventArgs) Handles Button1.Click
System.Diagnostics.Process.Start("C:GAMENAMEgamename.exe")
End Sub
How to add to that code and make it so it makes C:GAMENAMEgamename.exe start as windows size?
View 3 Replies
Apr 26, 2012
I created so many listviews in my project, that im too lazy to add to each listview a resize event with percentages. Is there any other trick, who just scales the columns so as they are?
View 3 Replies
Jan 10, 2012
I'm starting work updating an UI for one of my company's applications and I'm running into a sticky issue. The parent control contains several panels, each of which can be turned on or off depending on user input.
The final panel in the user control contains another user control which gets resizes according to a toggle switch. Essentially, it "opens" up more information.
While the child control (ChildControl) is docked to Fill inside the parent control (ParentControl), when I add height to ChildControl I can't get ParentControl's height to get updated as well. Currently I'm handling the ChildControl.Layout event in ParentControl but I can't seem to reach that code. To resize ChildControl, I'm calling Me.Height += 200 in ChildControl.vb.
View 1 Replies
Jul 20, 2009
I have a number of image files name image1.gif image2.gif image3.gif etc upto image52.gif
I want to display an image in a picturebox dependant upon a value wich is generated elsewhere in the app, so that if '3' is generated I a picturebox to display image3.gif
if 2 is generated image2.gif. However I have 52 such images to be displayed in 16 picture boxes so I was wondering
if there is a more efficient way than a select case method for each image and each picture box.
View 1 Replies
May 24, 2011
can i use vb.net to make project on editing images
View 3 Replies
Jul 21, 2010
Basically functionality i need is:
easy integration with ASP.NET application.user ability to crop image with handle prior to save image optimization from any image type to jpg (compression levels) during the save saving images with proper h/w ratios during the save user ability to rotate the image prior to save ability to translate application to foreign language as it won't be used on international site
View 4 Replies
Jul 6, 2009
what is the code to enlarge images as the program is running
ie double click the image and it expands
View 12 Replies
Sep 16, 2009
I have written an application in which, among other things, there is a picture browser, allowing the user to load and look at pictures (jpeg-type). So I thought it would be nice if they could print their nice pictures too. And here is where all my problems started. I've tried almost all the code examples given to me, but none works. Isn't that strange?
I want:
a) The user will click the print button and the print dialogue will appear and thus enable him or her to choose wich printer to use
b) When the choice is made, click OK or PRINT or WHATEVER and the picture/photo will appear on a piece of paper which they can frame and hang on the wall or where ever
Yes I'm sounding sarcastic, and that is because I'm tired from lack of sleep, trying to make this happen. And I only have a few days to complete everything. To make it worse I haven't even started on the part where they are able to print text from textboxes on a form... Oh My God. for some reason I though printing something from an application would be the easy task when it comes to programming in VB. I was obviously wrong. It happens from time to time.
View 7 Replies
Jan 30, 2009
How to retrieve the 10 images from a particular folder in vb.net
View 1 Replies
Sep 6, 2010
I'm in the middle of making a program launcher. I've been able to make a version of it before, but now I want to add more options for viewing the shortcuts. The 2 main views I'm trying to get are: Icon only and Icon with the name.
Here is my original code for only the name:
VB.NET
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
'Start bottom right of screen
Dim working_area As Rectangle = _
SystemInformation.WorkingArea
[Code] .....
I have switched over to a listview because I assume that's what i will need in order to show images. So I guess my first question will be how do I get only the icon from each file and then show it in the listview.
View 2 Replies
Jun 4, 2010
I have a stack of 2D dicom images and want to convert to a 3D object using VB.NET. I suppose I can solve it using openGL but any clue would help a lot. Do you know a free (or at least cheap) pack to do it?
View 1 Replies
Jul 12, 2011
How can I add to a class library (.dll) various icons, images and others settings and configutation files to use from my program?
View 4 Replies
Jul 8, 2011
I am just wondering if there is any DLLs or features in VB.Net 2008 that I could use to parse a picture of text to text (for example, a screenshot), assuming the text are in very recognizable format (i.e., not like CAPTCHA type of text).
View 2 Replies
Jan 29, 2009
How to save and retrieve images in a vb.net 2005 program
View 3 Replies
Sep 2, 2009
i want to put text/images in a window i choose im useing this code to put text into notepad
Imports WindowsApplication1.Class1
Public Class Form1
Private Sub Display_Loop(ByVal sender As Object, ByVal e As EventArgs)
Dim hWnd As IntPtr = WinApi.FindWindowA("notepad", Nothing)
[code]....
but it is a blinky and doesn't look good at all just keeps Bliking and mix's with stuff is there a better way to put text into a window ? and is there a way i can put images ?
View 5 Replies
Aug 22, 2010
I am making a program that takes pictures of the webbrowser control on a set timer and save them in a picturebox.. I then use backgroundworkers to check the images against others stored in the program. My issue is, the backgroundworkers do not properly check the images against the ones I have stored in the program.Could this be because the images and picturebox are stored on the main thread, and no in a background worker?In other words, I am taking picture from my webbrowser and putting them in my picturebox. Then, I am comparing them with images already in the images. The only problem is, the workers are unable to properly compare the images.
View 6 Replies
Apr 2, 2011
I want to save medical images that means scanned images,x-rays and other medical images , so how to save these images in my project by using vb.net windows application. And my database is Oracle 10g.
View 6 Replies
Dec 23, 2009
I want to capture images and store it in access data base in vb.net 2005
View 4 Replies
Jun 28, 2009
I'm BRAND NEW to programming, and I'm starting to learn VB. I need to write a program that views images on a website that are organized. I have 2 textboxes in which you enter variables which affect the URL. It doesn't load anything though when I enter values into the textboxes. Here is the
Dim shoot As String
a = TextBox1.Text
Dim pic As String
b = TextBox2.Text
[Code]...
Also, i want to be able to enter something else in the textboxes and be able to press the button again to load the new image
View 3 Replies
Apr 4, 2011
I have this program that is suppose to take the path I provide it and use it to save an image to my access database. But it keeps giving me ""Syntax error in Insert Into Statement." error message.
View 2 Replies
Jun 4, 2011
The idea is to scan a folder of images and then let the user navigate back and forth through the images using a couple of buttons.The problem is, I can only get it to return a single image, and not the whole lot. It's looks to me as though the images are getting assigned to the same index in the array. [code]
View 2 Replies