Way To Compress Image
Jul 21, 2009How to compress an image? because i am capturing a screenshot. but my problem is sometimes the image size is too large. how can I compress the image?
View 4 RepliesHow to compress an image? because i am capturing a screenshot. but my problem is sometimes the image size is too large. how can I compress the image?
View 4 RepliesHow can i compress an image using vb.net?
View 2 RepliesThis is my code to get screen captures every certain interval of time. But each image is being around 150kb and I want to make it smaller. what matters is the image size in kb to be around 70kb ( almost the half ) .
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
Dim ScreenSize As Size = New Size(My.Computer.Screen.Bounds.Width, My.Computer.Screen.Bounds.Height)
Dim screenGrab As New Bitmap(My.Computer.Screen.Bounds.Width, My.Computer.Screen.Bounds.Height)
[code]....
When i'm working on my project,many times it show the message something like this "...out of memory" so can any one help me what should i do?
Should I compress my project and make it smaller in size?
How do I compress/decompress a string in VB.NET ?I am trying to send long string through the Network and need them to be as small as possible before sending.
View 3 RepliesI have tried to compress a directory in one file. Any idea how? I have been able to compress individual files, but no clue how to do it in one file
View 1 RepliesI need a simple code to compress a folder to *.zip file silently without modules or adding project .... etc.
View 18 RepliesI'm making a presentation program. It's a bit like PowerPoint, but less complicated and for a different purpose.
All files used in the presentation (like images, texts and sounds) should be put into a single 'file-package'. This package should later be opened by my program, which should be able to use the files from the package. (Just like PowerPoint creates a single file with all images and sounds included, which can be loaded in PowerPoint on a different computer.)
Actual compression for the file is not really needed. It could be sort of like a tar-file.
VB.NET 2003 or 2005 application program. i was trying to create an application program to compress some files using 7zip. when application program runs, need to browse and select the files need to be compressed and mention the name of the zip file and compress the file in that folder. i'm getting examples only in C#.
View 4 RepliesHow would I compress a folder from a text box becasue what I have at the moment is just returning a value of true
Dim compres As IO.Compression.CompressionMode
TextBox1.Text = IO.Compression.CompressionMode.Compress = IO.Compression.CompressionMode.Compress = 1
And I don't understand how to use the compression.
I want to have a backup feature which takes about 7 txt files and compresses/packs them into one file. Then if required at a later stage I can unpack all 7 files from the packed file. I do not need any compression as such just to make one file from 7, then 7 from from that one, if you understand what I mean. I have read there are some native libraries in .NET Framework 2.0 called DeflateStream and GZipStream. Can these be used?
View 3 Replieswhat is the fastest way to serialize and compress a class?
what are the consideration to be made when a long list of objects(classes) have to be serialized and compressed one after the other?
how do you compress audio file wmv with net libraries to wma MP3?
View 4 RepliesHow can i encrypt or decrypt only a part of a file? I try, and i keep getting an error message that says that the stream might be corrupt. By the way, it is ok to convert the text to a byte array using the system.text.encoding.ascii.getbytes() right? The reason i want to encrypt/compress only a part of a file is because i don't want to encrypt or compress the file header. That way the program can gather info about whether the file is compressed or encrypted.
View 1 RepliesI have a program I made in vb.net express 2008 that used java.utils.zip to compress my work files to a Zip archive that I ran occassionaly to have a backup. I worked fine, but with net framework 4 and vb.net 2010 it doesn't work. So I modified it to use sharpziplib and it works fine if all files on the filter list in the folder are closed, but if I have a file open in OpenOffice writer, my program can't access it and won't create the zip file. The file that usually stays open all the time is my TODO list, that is updated several times a day , so usually gets printed, and updated( adding or deleting entries), without closing it.
[Code]...
i just want to compress and send my project by email. but gmail wont let me because some file types are .exe i change it to .txt but i'm still having trouble. its a vb.net form app project.
View 5 RepliesCan you compress data being sent from client to server and etc? If so how would i do this?
View 2 Repliesthis is my first Question :) I need a lib or way to compress a data in asp.net (vb) with the algorit deflate but the result inflate in javascript. I'm use a lib in javascript: deflate.js [URL] First i'm deflate and convert to base64 the result but the result is no compatible with the javascript lib. i'm use the Chilkat .NET DLL [URL] The String result with this lib is compatible with the javascript libray but is not free. need a way to compress data in asp.net and uncompress in javascript. This is for my web aplication need to download many many data.
View 2 RepliesHow to compress a folder in vb.ne appl to ZIP format?
View 6 Replieshow to compress folder and its subfolder using winrar i found a lot of example using gzip but not through winrar a programe that compress file using winrar and display progress report as well as
View 16 RepliesI'd like to use WinRAR's dll file to compress files in vb.net.Is there any way this can be done? The only one I found was using the unrar.dll to uncompress files. Also, I'd like to know how to implement WinZIP's dlls to compress files as the zipfldr.dll does not achieve very high levels of compression and encryption.
View 4 RepliesIn visual basic 2008 how would i move and compress a jpg photo to 500k, from one location to a new location?
View 2 RepliesI have a web application using VB ASP.NET 3.5 that along with many things allows users to upload documents into a directory on the web server. I would like to know how I can zip a folder on a webserver and download it to the client machine via a submit button.Currently, I have the files displayed as URLs so that the users can right-click and "Save Target As." But I think just having everything zipped in one file would make it alot easier for the users.
View 3 RepliesI wonder if you can help. I have an intranet with about 2000 photos on it. A lot of these photos were not compressed when uploaded so can be upwards of 4 or 5MB in size.
Is there a script/tool I can run to go through the directory one image by one and automatically and compress each images to say 100k or percentage of the current file size, then save and close the file with the same name?
How to compress a bitmap before saving it into tiff format?
share some code with me that will compress the contents of a bitmap before saving into image format.I have the following code:
Dim image As BitmapSource = decoder.Frames(i)
Dim thebitmap As Bitmap = BitmapFromSource(image)
Dim eps As Imaging.EncoderParameters = New Imaging.EncoderParameters(1)
[Code]....
I need to compress the contents of "thebitma" before saving it into jpg format.
I would like to ZIP a file with VBA. The following code from Code [URL]..
View 2 RepliesI have a task..Since im a beginner in VB, how do i create the program which can compress the folders in Directory ( D:BackupFolderName) automatically in turn..I have around 20 folder in this directory..(20110501-20110520)..I need to use Loop or which statement?this is compress codes to compress one folder automatically..
[Code]...
I have a bunch of 10 digit integers that I'm passing in a URL. Something like: "4294965286", "2292964213". They will always be positive and always be 10 digits. I'd like to compress those integers into the smallest possible form that can still be used in in a URL (aka letters and numbers are perfectly fine) and then uncompress them later. I've looked at using gzipstream but it creates larger strings, not shorter.
View 4 RepliesHow do i make a program that can compress files, just like programs like winrar do? Every time i try via something as simple as text editor changing something, then changing it back, then it wont work anymore. Any suggestions on how i can make one of these kinds of compression programs?
View 9 Repliesi`m wondering if there is a way to reduce the size of a saved recording video (.avi)For a 4 sec video the size is 40 MB!
View 6 Replies