Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

image format from a byte array ?

 
Titus Abraham
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello ,

given a byte array is there any way we can know whats the image format ?

as i am getting data from the server in byte format only.

Best regards,
titus
 
Ulf Dittmer
Rancher
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The ImageInfo class could be adapted to work with byte[], assuming it covers the formats you need to deal with.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic