Buffers To Increase Movement, Lower Quality?
May 23, 2010is there any buffers i can use to make my animations look smoother rather than the quality of the pictures?
View 3 Repliesis there any buffers i can use to make my animations look smoother rather than the quality of the pictures?
View 3 RepliesIm Using This Code To Convert Image To Icon , But The Icon File Quality Is Bad, How I Can Increase Its Quality..[code]
View 2 RepliesI'm trying to code an 'increase' button to prompt a user to input a rate by which to increase select prices in an array.It should request the increased rate, then request a number from one to five, representing which price in the array to increase.Then, if 'increase' button is selected again and another number from one to five is chosen, then that element should be increased.It's working, but all the numbers in the array are changed. And, when I hit the increase button again, the array is repopulated below the first price increases instead of only replacing the designated price.
'declare 5 element array of prices
Dim prices() As Double = {12.2, 8.5, 12, 50, 2.4}
Dim rateIncrease As Decimal
Dim isConverted As Boolean
[code].....
When reading from a network stream using the following [code] I tend to get the data in two or more chunks, unless I specify a delay after each buffer read (which is hardly desirable). It is usually a problem with 4k+ buffers written (in one large chunk and 'flushed') to the networkstream and read in smaller chunks (of say 1k).This is seriously problematic for the rest of the code, since the information is broken up in bits and not properly handled.Is there a way to ensure that all data available is 'captured' without using unrealisticly large buffers or using delays?
View 4 RepliesI have added a Split container onto my Form and within bottom Panel I have added a list box.How can I increase the size of the list box as I increase the size of the panel?
View 3 RepliesWe have developed an application using Vb.net . Is there a way by which we can connect to HP Quality center.We have credentials for HP Quality Center, is there a way by which we can connect to it and access fields
View 1 RepliesI'm trying to pass an image showing to the user a countdown. For this, I'm using a separate thread where I'm checking when the countdown timer should be started, and when so, I draw an image for every 6 seconds passed.
What's annoying is when I pass the drawn image to the UI, the quality of the image is changed and it looks bad to the user.
This is my little script that handles the drawings:
Try
remainingTime = (#12:04:00 AM# - (DateTime.Now - local_DateTimeclick)).ToString("HH:mm:ss")
remainingTimeInSeconds = Convert.ToDateTime(remainingTime).Minute * 60 +
[Code]....
Also tried with changing the properties of g, but there was no positive effect.
what can i do to make this properly work without changing the quality of the returned image?
I need to know the best way to print a form in Visual Basic 2008. I have tried to print it using the printform method but the quality of the text is really bad. Are there other ways to print forms that dont involve the printform method and have great quality? I need to print the form the way it looks on the screen(which consists of textboxes,lines,labels).
View 1 RepliesIn the code below if I remove the FillRectangle line the text quality is not good. Why?
View 4 RepliesHow can I adjust the icon quality on a tool bar?
Below is the code I am using to add a tool bar and add the icon to the button. I am having a problem with the quality of the icon. The icon is 32X32 and has looks good viewing in windows explore. When it is viewed in the imagelist the quality is very poor. What can I do?
Code:
Dim tsView_ZoomIn As New ToolStripButton("")
AddHandler tsView_ZoomIn.Click, AddressOf ZoomIn_Click
tsView_ZoomIn.Image = ImageList1.Images(0)
[Code]....
I've developed an application that acquires images from my Logitech QuickCam Pro 9000 using WIA. The problem is that I cannot figure out how to adjust the quality of the image taken by the camera. The camera has a 2MP lense, but the program will only acquire a picture of 320x240 pixels, which is the lowest resolution the camera has. How do I tell the camera to take a picture at one of it's other resolutions? IE: 640x480, 960x720, 1.3MP, or 2MP?
[Code].....
Does the quality of code merged by TFS 2008 depend on the used programming language? I know merging in Java / Subversion, and merging a branch to its trunk usually does not create much conflicts. Now in my company, we use VB.NET. When I merge two files TFS does not always get code blocks right, e.g. does not find the right If..then / end if lines. To give you an example, I mean: File 2 is created as a branch of File 1. Both files were changed later, now I'm going to merge those files and am recieving conficts: The marked end-if lines (1) are detected as corresponding, meaning the added event handler Button1_Click is being deleted.
Now I wonder if this behavior is by language (C# vs. VB.NET) or are other source control solutions just better than TFS? (And I really liked TFS up to now :) )
File 1:
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
If Not Page.IsPostBack Then
[CODE]...............
File 2 (Branch of File 1):
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
If Not Page.IsPostBack Then
fillTableFromDatabase()
End If // (1)
[CODE]...............................
In Reporting Service, I need to have a vertical, starting at bottom, bottom-to-top, horizontally middle aligned text.The only way to do this is to create an image in code, and set this image into the title column.See the code below.Basically, it works fine, just that the anti-alias quality is pretty crappy.Is there anything I can do to improve it ?The vertical text is somehow pale, and not full black, and also there is smearing all around the text, in the background color.As well as it appears bolder than the text on the left, but both have format arial, size 8, bold I've tried all other values of System.Drawing.Text.TextRenderingHint.*, as well as no anti-alias at all but the current one seems to be the least crappy.I've also tried to change the image format, to no avail:
Function LoadImage2(ByVal sImageText As String, ByVal sImageTextMax As String) As System.Drawing.Image
sImageTextMax = sImageTextMax.PadRight(15)
Dim iFontSize As Integer = 8 '//Change this as needed
[code]....
How do I control the video quality on flash using with the trackbar?
View 12 RepliesI am converting an application that connects to Quality Center via the OTA API from VB.net to C#. The application makes extensive use of recordsets, but I have not been able to get them to work in C#.pecifically, I have trouble casting Command and Recordset to the correct format for C#. Everything I have tried has failed.Following, is an VB.net example of the code that I need to convert.
Private Function GetRecSet(ByVal Qry As String, TD as TDConnection) As Recordset
Dim Com As Command = TD.Command
Com.CommandText = Qry
[code].....
I'm not sure where should I post this as this is not really related to VB.NET but since I'm always here(in the VB.NET section) I'm gonna ask here.How do I make an icon that won't lose it's quality? I tried so many dimensions already. 32x32, 250x250, 16x16, 64x64.It will lose it quality on Desktop and taskbar. An icon like the IE's, Visual Studio's, Google Chrome's icons.. icons that doesn't lose quality.
View 9 RepliesI got this code from this forum, it works perfectly but I have a problem where when you resize the images, the quality of the image becomes not as good, is there a way to keep it in the same quality as it is when resizing?[code]....
View 13 RepliesI want to make a wallpaper changer because windows high compresses the the image so you see artifacts even if already use a jpeg or even a really high quality png or bmp.
I know what I need to do for all of it I just need to know how to save an image to a jpeg without it being compressed. I have tried using the encoderparamters and getcodecinfo aswell as setting the quality to 100 but I still get a really bad looking image in the end.
Is there a way where I can save an image to a jpeg without getting the crappy image quality like with visual basic?
I had this question before "Resize image on the fly make the image lose quality online but locally works nice".And what i got now is that it's not a problem of local or online, i ran this resize on the server itself "dedicated server", and i got the same bad quality image, so the problem is in the IIS configurations.What in iis can make this bad quality image happen?
View 1 RepliesI need to create high quality icons for my current project in vb.net
This is my code so far,
Private Sub CreateIcon(ByVal bitmapName As String)
Try
Dim fi As New System.IO.FileInfo(bitmapName)
[Code].....
But the problem is it only gives me a very low quality icon at the end. how to make a higher quality image?
I'm using below code 2 add image into a picturebox during the run time. i could add image but when i clicked the picture to make it become smaller, the picture quality is blur which not as the initial picture.
[Code]...
I'm using iTextSharp to print a PDF document. Everything goes ok until I have to print the company logo in it. First I noticed that the logo had poor quality, but after testing with several images, I realize that was the iTextSharp rendering it poorly.The test I did to say this was to print the PDF using my code and then edit the document with Acrobat 8.0 and I drew an image. Then printed the two documents and saw the noticeable difference.My question is that if anyone know if this can be due to a scaling problem where I'm failing to tell iTextSharp how it must render the image or is an iTextSharp limitation.
[Code]...
No I understand that if I drop the Shockwave Flash Object onto the form, on the right dock I can change the quality, I can also re-size the object to whatever I wish, but is there anyway to manually reduce quality so say the pixel count is much much much less, like 240p or lower, if the video is by default 720p through code? As if to change the amount of pixels being shown on the video to reduce lag when multiple flash objects are playing.
View 3 RepliesHow do I control the video quality on flash using with the trackbar?
View 3 RepliesDoes any one know the dialog below like a lower third?
View 1 RepliesI have a routine that creates a report which includes text and graphics. When I print to a PDF or printer the output looks great. When I draw the report on an image to save as a PNG, GIF, JPEG, etc. it does not look as good and I understand that is related to the 96 dpi native resolution. However, I made some modifications, and even though the graphics part of the image looks better, the text does not look as good as the PDF. I am creating the image using 300 dpi and text rendering is set at the highest quality.
[Code]...
I'm just curious how I get Windows to use the high quality cursor when dragging and dropping in my WPF application. What I mean by high quality is: Rather than the regular arrow with a rectangle. I tried using e.Effect but that didn't do anything... Am I doing something wrong? Or is this just how it is in WPF.
View 1 RepliesThere's a really simple way to convert images to icons:
Dim icon As Icon = Icon.FromHandle(bmp.GetHicon())
It also produces really horrible icons. Is there a better way to convert them, or more accurately, what is the better way to convert them?
The Vb.Net application creates a bitmap from scratch and either converts to a tiff or sends it to a printer. In both cases, the quality of the image (in this case the font) is not good at all. The sample code listed below creates the graphics object that I use to write to the image.
Dim gr2 As Graphics = Graphics.FromImage(New Bitmap(800, 1000), Imaging.PixelFormat.Format32bppPArgb))
[code]......
Using VB on a graphics screen I want to have the cursor move on a grid as opposed to every pixel. I believe I must hide the cursor and then draw it myself over the background, but I do not understand how to do this.
View 9 Replies