Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

hi,

 

I am developing a program that has many .jpeg files in it. what method is

the best to use for working with them in the program. I have not worked

with picture files before. in this program you should be able to add ,

show,delete a picture. if any good and easy thing that can edit pictures

that would be a plus. any third party or a windows tool that can help me.

 

any information, article, software , any clue in this regard is appriciated

roseta.

  • Leaders
Posted

Well, you can use an arraylist of bitmaps.

 

Like:

Dim Jpgs As ArrayList 'Declare the arraylist.

 

Jpgs = New Arraylist(50) 'Initialize the arraylist.

 

Jpgs.Add(New Bitmap(filename)) 'Add a bitmap to the arraylist.

 

Dim Pic As Bitmap = DirectCast(Jpgs(0), Bitmap) :)

'Retrieve an item from the arraylist.

Iceplug, USN

One of my coworkers thinks that I believe that drawing bullets is the most efficient way of drawing bullets. Whatever!!! :-(

  • *Experts*
Posted

Visual Basic .Net by Evangelos Petroutsos has an excellent section on bitmap editing using managed code with VB's standard controls. You'll probably be able to accomplish everything you need with this book.

 

Also, depending on the size of the jpeg files, you might be better off "storing" them on the hard drive. The book will explain (step by step) everything about this for you.

Member, in good standing, of the elite fraternity of mentally challenged programmers.

 

Dolphins Software

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...