sql server - Type of image stored as image datatype -



sql server - Type of image stored as image datatype -

there's application stores icons in database info type image. i'm having hard time figuring out type of file beingness stored can export actual image/icon.

question 1: there way find out type of image stored in sql server under image info type?

question 2: populate table text file. here's what's in (sorry if spammy, maybe it's recognizable some). i'm trying figure out type of image is:

28000000100000000f0000000100080000000000f00000001217000012170000000100000000000000000000000080000080000000808000800000008000800080800000c0c0c000c0dcc000f0caa600eeeeee00dddddd00cccccc00bbbbbb00aaaaaa00999999008888880077777700666666005555550044444400333333002222220011111100ccffff0099ffff0066ffff0033ffff00ffccff00ccccff0099ccff0066ccff0033ccff0000ccff00ff99ff00cc99ff009999ff006699ff003399ff000099ff00ff66ff00cc66ff009966ff006666ff003366ff000066ff00ff33ff00cc33ff009933ff006633ff003333ff000033ff00cc00ff009900ff006600ff003300ff00ffffcc00ccffcc0099ffcc0066ffcc0033ffcc0000ffcc00ffcccc0099cccc0066cccc0033cccc0000cccc00ff99cc00cc99cc009999cc006699cc003399cc000099cc00ff66cc00cc66cc009966cc006666cc003366cc000066cc00ff33cc00cc33cc009933cc006633cc003333cc000033cc00ff00cc00cc00cc009900cc006600cc003300cc00ffff9900ccff990099ff990066ff990033ff990000ff9900ffcc9900cccc990099cc990066cc990033cc990000cc9900ff999900cc999900669999003399990000999900ff669900cc66990099669900666699003366990000669900ff339900cc33990099339900663399003333990000339900ff009900cc009900990099006600990033009900ffff6600ccff660099ff660066ff660033ff660000ff6600ffcc6600cccc660099cc660066cc660033cc660000cc6600ff996600cc99660099996600669966003399660000996600ff666600cc666600996666003366660000666600ff336600cc33660099336600663366003333660000336600ff006600cc006600990066006600660033006600ffff3300ccff330099ff330066ff330033ff330000ff3300ffcc3300cccc330099cc330066cc330033cc330000cc3300ff993300cc99330099993300669933003399330000993300ff663300cc66330099663300666633003366330000663300ff333300cc333300993333006633330000333300ff003300cc003300990033006600330033003300ccff000099ff000066ff000033ff0000ffcc0000cccc000099cc000066cc000033cc0000ff990000cc99000099990000669900000000ee000000dd000000cc000000bb000000aa0000009900000088000000770000006600000055000000440000003300000022000000110000ee000000dd000000cc000000bb000000aa0000009900000088000000770000006600000055000000440000003300000022000000110000ee000000dd000000cc000000bb000000aa0000009900000088000000770000006600000055000000440000003300000022000000f0fbff00a4a0a000808080000000ff0000ff000000ffff00ff000000ff00ff00ffff0000ffffff0007ffffffffffffffffffffffffffff07ffff000000000000000000000000ffffff0002020202020202020202020200ffff0002020202020202020202020200ffff0002020200020202020002020200ffff0002020002020000020200020200ffff000200020200f9f9000202000200ffff0002000200f9f9f9f90002000200ffff0002000200f9f9f9f90002000200ffff000200020200f9f9000202000200ffff0002020002020000020200020200ffff0002020200020202020002020200ffff0002020202020202020202020200ffffff000000000000000000000000ffff07ffffffffffffffffffffffffffff07

in response "what stored in database, illustration please" in sql server, datatype image, value stored (same above, 0x in front):

0x28000000100000000f0000000100080000000000f00000001217000012170000000100000000000000000000000080000080000000808000800000008000800080800000c0c0c000c0dcc000f0caa600eeeeee00dddddd00cccccc00bbbbbb00aaaaaa00999999008888880077777700666666005555550044444400333333002222220011111100ccffff0099ffff0066ffff0033ffff00ffccff00ccccff0099ccff0066ccff0033ccff0000ccff00ff99ff00cc99ff009999ff006699ff003399ff000099ff00ff66ff00cc66ff009966ff006666ff003366ff000066ff00ff33ff00cc33ff009933ff006633ff003333ff000033ff00cc00ff009900ff006600ff003300ff00ffffcc00ccffcc0099ffcc0066ffcc0033ffcc0000ffcc00ffcccc0099cccc0066cccc0033cccc0000cccc00ff99cc00cc99cc009999cc006699cc003399cc000099cc00ff66cc00cc66cc009966cc006666cc003366cc000066cc00ff33cc00cc33cc009933cc006633cc003333cc000033cc00ff00cc00cc00cc009900cc006600cc003300cc00ffff9900ccff990099ff990066ff990033ff990000ff9900ffcc9900cccc990099cc990066cc990033cc990000cc9900ff999900cc999900669999003399990000999900ff669900cc66990099669900666699003366990000669900ff339900cc33990099339900663399003333990000339900ff009900cc009900990099006600990033009900ffff6600ccff660099ff660066ff660033ff660000ff6600ffcc6600cccc660099cc660066cc660033cc660000cc6600ff996600cc99660099996600669966003399660000996600ff666600cc666600996666003366660000666600ff336600cc33660099336600663366003333660000336600ff006600cc006600990066006600660033006600ffff3300ccff330099ff330066ff330033ff330000ff3300ffcc3300cccc330099cc330066cc330033cc330000cc3300ff993300cc99330099993300669933003399330000993300ff663300cc66330099663300666633003366330000663300ff333300cc333300993333006633330000333300ff003300cc003300990033006600330033003300ccff000099ff000066ff000033ff0000ffcc0000cccc000099cc000066cc000033cc0000ff990000cc99000099990000669900000000ee000000dd000000cc000000bb000000aa0000009900000088000000770000006600000055000000440000003300000022000000110000ee000000dd000000cc000000bb000000aa0000009900000088000000770000006600000055000000440000003300000022000000110000ee000000dd000000cc000000bb000000aa0000009900000088000000770000006600000055000000440000003300000022000000f0fbff00a4a0a000808080000000ff0000ff000000ffff00ff000000ff00ff00ffff0000ffffff0007ffffffffffffffffffffffffffff07ffff000000000000000000000000ffffff0002020202020202020202020200ffff0002020202020202020202020200ffff0002020200020202020002020200ffff0002020002020000020200020200ffff000200020200f9f9000202000200ffff0002000200f9f9f9f90002000200ffff0002000200f9f9f9f90002000200ffff000200020200f9f9000202000200ffff0002020002020000020200020200ffff0002020200020202020002020200ffff0002020202020202020202020200ffffff000000000000000000000000ffff07ffffffffffffffffffffffffffff07

this seems similar post: php : binary image data, checking image type

as can sql side nothing, application extracting info need figure out. bol has it: http://technet.microsoft.com/en-us/library/ms189574(v=sql.105).aspx

data in image info stored string of bits , not interpreted sql server. interpretation of info in image column must made application. example, application store info in image column using bmp, tiff, gif, or jpeg format. application reads info image column must recognize format of info , display correctly. image column provide location store stream of bits create image info value.

sql-server image

Comments

Popular posts from this blog

model view controller - MVC Rails Planning -

ruby on rails - Devise Logout Error in RoR -

html - Submenu setup with jquery and effect 'fold' -