VS 2005 Blending Two Images?
Aug 20, 2009
how to tell VB to take two images and blend them together. Similar to how Windows 7 does it's wallpaper fade when it switches wallpapers. For now I found the program Image Magick can do that with the composite command. I'm trying to do something like this:
SH = CreateObject("WScript.Shell")
for x=10 to 100 step 10
SH.Run("%comspec% /c composite -blend " & x & " -gravity South img1.jpg img2.jpg -matte blend.jpg")
SetWallpaper("blend.jpg")
next
But so far no dice.
View 2 Replies
ADVERTISEMENT
Aug 25, 2011
I am going to blend two images together using multiply blending, and will iterate through all pixels. I have search in wikipedia that the calculation of multiply blending is:
resultRGB= src * dst / 255
but it didn't mention about alpha, how does alpha affect the result?
For y = 0 To fsrc.Height - 1
For x = 0 To fsrc.Width - 1
Dim d As Color = fdst.GetPixel(x, y)
Dim da = d.A / 255, dr = d.R / 255, dg = d.G / 255, db = d.B / 255
[code]....
View 2 Replies
Apr 12, 2010
I am working on a project that I wish to convert the picturebox image to acting as glass effect. What I mean that I would be able to see any controls behind the picturebox control. Something would be like this:[URL]..
View 7 Replies
Jul 9, 2011
I am working on the listview that I have got two columns, the one that it goes for the images and the other one goes for the text data. I can extact the text data, but not for the images.
View 3 Replies
May 9, 2009
I've added 48*48 size icons to my application's treeview but they look s**t. With the default font settings what size images should I be using?
View 3 Replies
Jun 17, 2011
I am working on button component, and I would like to get up and down arrow keys on the button, and on the click event of these arrow keys to display the images, proposed functionality in the form can be done further. I want to display an image with the text and the arrow keys to display the images when I click on the button like this:
View 17 Replies
Mar 20, 2009
I playing a video with Microsoft.Directx.AudioVideoPLayback. My code is pretty simple: I create a Video object wich opens an avi movie, I assign its owner property to panel1 control and then I play the movie.I want to capture images every second from the movie that is being played.I try with panel1's DrawToBitmap() method and then saving the drawn bitmap, but it just draw the panel1, not the image.Is there a way of doing it?.
View 14 Replies
Oct 12, 2009
i going to create setup.exe to install my project using vb.netfor the same i want some COOL/professional setup images that i can put on my screen
View 1 Replies
Jul 21, 2009
I'd like to move my images / icons and wav files (basically, almost all of my internal resources) from an existing project (VB 2005) and put them in an external dll, then reference this from my exe and call the relevant resource as required.
What would be the best way of doing this?I understand that I should create a ClassLibrary and put my resources in that, but how should I expose those resources to an external program and how should I reference and call the dll from my exe?
I've done some searching, but not found anything that seems to explain the process adequately enough.
View 1 Replies
Mar 5, 2010
i want to make an application that will display new images from a camera at the time they are taken.The camera will be connected with USB to the computer.I thought to set a FileSystemWatcher that will monitor for new image fileson the camera and then copy those images and display them.But i searched a little bit and i found a WIA library on msdn
View 1 Replies
Jun 2, 2010
how do you make images transparent in vb 2005? i have a bunch of images that i want to use, but they all have a white square background. How would I get rid of its white square background?
View 10 Replies
Aug 2, 2011
I have placed the image on the splitterbar so when I moved them, the image doesn't moving with the splitterbar.
Do you know how I can make the image moving with the splitterbar when I moving them?
If you could take a look on the attachment and if you do know how to move the image with the splitterbar when I moving them
View 4 Replies
Dec 1, 2010
is it possible to have several images in a single Listview subitem?
View 1 Replies
Aug 6, 2009
Is it possible to set the image windows displays when viewing a file created in a VB.NET application? In my case I have files saved that store info on football plays for a play creator program. Can I use the image of that play as what the user will see when he searches through windows explorer?
Let me further explain with an analogy: photo files in windows have their images displayed as the user cycles through them; he chooses which one he wants to doubleclick based on the thumbnail image of the actual photo. I'd like to have a "photo" of the play itself shown instead of what is now just a blank generic grey icon for the play files that I save.
View 5 Replies
Jan 29, 2009
How to save and retrieve images in a vb.net 2005 program
View 3 Replies
Aug 1, 2009
now the remaining things are done-able but im stuck in new requirement posted by Client which he needs to upload all images from Sql Server to Oracle Database now since old application stores images Path it is kind of new story now ?(:
i tried to build sample application since am not familiar with kind of above requested modification here is my code so far to upload images
'' Sql connection is over
Dim fs as new fileStream (imgPath , io.fileMod.Open , Io.FileAccess.Read)
Dim imgByte (fs.length -1 ) as byte
[Code]......
View 5 Replies
Apr 26, 2010
when i connect my digital camera (Canon) to the computer i can see it in the windows explorer root folder but i cannot access it using the System.IO.GetDrives() function. Is there a way to access my digital camera programmatically ? I mean via windows explorer i can , why not using .NET ?
View 1 Replies
Feb 23, 2011
I have a code that sharpens an image using the 'unsharp method' when a button is clicked and filters applied.
Apply unsharp masking.
Private Sub btnUnsharp_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnUnsharp.Click
[code]....
View 9 Replies
Aug 12, 2010
I'm experimenting with the RichTextBox control. My goal is to replace certain user input with an image object. For example, when the user used ":-)" in the RichTextBox it will be replaced with a simple image (like ).
I use the TextChanged event on the RichTextBox to replace any found textual smiley with an image. The code below works, but only works on the first found ":-)". When the user used ":-)" twice the first image is being removed from the RichTextBox. No matter howmuch times ":-)" is found, there will only be one image in the RichTextBox (for the last found ":-)").
Private Sub RichTextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RichTextBox1.TextChanged
Dim LastIndex As Integer
[Code]....
I also don't know if the whole clipboard thing (clearing it, storing the image, restoring the original data) is the best way to do it, but I will look at that later.
View 4 Replies
Dec 21, 2010
I have 22 images and I am trying to add them into an array and then assign them randomly to a button so when the button is pressed it will change to the assigned image. Also is it possible to randomize the array.
View 4 Replies
Feb 24, 2012
I have got a problem with the regex pattern. I couldn't be able to extract the id in the images tags from the html source when I find the matches pattern that I selected on the listview items. [code] It have found the matches with the html tags, but it doesn't extract the id from the images tags. [code] Do anyone know how I can extract the id in the images tags from the html source?
View 15 Replies
Apr 4, 2009
Does anyone have any suggestions how I might store the contents of a RichTextBox that also includes images to a MSSQL 2005 database?I suppose a possible answer to this would be to convert the entire content of the RichTextBox to a Byte Array, and then insert the array as a varbinary(max) datatype.But how do I convert the content ?
View 1 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
Oct 3, 2010
What type of connector do i need to actually save the Map data like point of the images (x,y coordinate) into the database . and then retrieve it to show on the page in asp.net and how do i go about doing it.
View 3 Replies
Feb 11, 2009
The app i am working on is for creating theme for the iPod touch... It has to deal with LOTS of images (100's potentially) There will be the set of default images, and then the user created replacement images. I started loading all the defaults into a resx file... thinking then I could just pull them out. now that I started setting the default, this sucks! lol the app will do this, on load it will set all the images (variables) to the resx images then when a theme is loaded, it will replace the default with the user image (if the user img exists) otherwise, the default stays. Then the "screen" is drawn to show the user. so, here is just the images to build the wallpaper, dock, and status bar...
[Code]...
View 9 Replies
Aug 12, 2010
I was thinking to make an app to save images [or download images] to local hard disk. But to keep it easy, I want this app to create a small picturebox on form to show the thumbnail of downloaded image. Lets say a 5 pictureboxes has to be added with the thumbnails to show the recent downloads. A user can save the location where he wants to save the files on hard disk. A listbox or a dropdown menu will help in categorizing the images, like image1 in friends section, image2 in family section, image3 in others, etc... When the program restarts all the latest 5 thumbnails has to be loaded in pictureboxes and the directory that was chosen. Finally, a button that shows the downloaded images into original image file size one by one or a slide show. Is it possible to make such program?
View 2 Replies
Sep 20, 2011
I am developing a visual basic 2008 express edtion program of an organisation that should get images from the system and display on image/picture box. further the program should save the displayed image in access database so that it can be retrieved together when you want to search the information about that particular employee.
View 7 Replies
Jan 3, 2012
I need this for my program. There is "add images" button where you can load multiple images and those images should be show on listview after loading.I have been trying to make this but could not get it work.
View 6 Replies
Jan 20, 2011
can we use images in the resource folder as background images by setting the background image during run-time by coding?
View 5 Replies
Aug 4, 2010
I have a program that will get a hash of the image but the problem is that I have to do to manually.I have a set of images of a folder names images(C:/images/) and ill be choosing which of those images i want to upload to my database.So far I got my program to work with database and such, wat I need is, if its possible I but the folder path on OpenFileDialog and I was a image to show in Picturebox1, then if I press button1 it will go to next picture.
View 1 Replies