Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7846429
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T17:34:42+00:00 2026-06-02T17:34:42+00:00

Im making my own mp3 tagger, and everything is fine so far. Although im

  • 0

Im making my own mp3 tagger, and everything is fine so far. Although im stuck reading the album art tag.

I would like to know how to display the cover in a C#.NET picture box, but everything iv seen about that particular tag is confusing me.

I know i can get tags from files like this

txtAlbum.Text = currentFile.Tag.Album;

but all i need to do is grab the picture from the file and whack it in a picturebox. Then i would like to know how to write a picture (jpg, png) into the file and overwrite the existing one.

Any help would be greatly appreciated, and thank you for your valued time.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T17:34:44+00:00Added an answer on June 2, 2026 at 5:34 pm

    Try this

    TagLib.File tagFile = TagLib.File.Create(path);
    IPicture newArt = new Picture(tmpImg);
    tagFile.Tag.Pictures = new IPicture[1] {newArt};
    tagFile.Save();
    

    EDIT

    var file = TagLib.File.Create(filename);
            if (file.Tag.Pictures.Length >= 1)
            {
                var bin = (byte[])(file.Tag.Pictures[0].Data.Data);
                PreviewPictureBox.Image = Image.FromStream(new MemoryStream(bin)).GetThumbnailImage(100, 100, null, IntPtr.Zero);
            }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i am making my own framework and would like to allow easy direct access
I am making my own crude MP3 player, and I now have a JList
I am making my own photo album, and want to copy the functionality of
I'm making my own string class and I'd like to ensure that CString a
I am making my own Lisp-like interpreted language, and I want to do tail
I'm making my own markdown editor, and it does bold and italic much like
I'm in the process of making my own Captcha check on my website. Everything's
I am making my own combobox for better design than a <select> tag. By
I'm making my own minor mode for emacs. Now I want to add button
I'm making my own ControlTemplate for a standard Button in WPF. I want to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.