Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

C#

how crop a png file who containts multi png

I have a png file who containts 4 pictures. I'm looking a method to select each pictures individually.

I spent a half day to try to find the best approach but nothing.

Also, could you tell me the added value to use these files where some icons are grouped?

Thanks for your help

1 Answer

Steven Parker
Steven Parker
231,210 Points

Are you sure this is for the C# category?

If it was a CSS question, I'd suggest that you might use a combination of background-size and background-position to select one of the images at a time.