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 6952091
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T14:18:13+00:00 2026-05-27T14:18:13+00:00

You know when you open up an image in notepad or a text editor,

  • 0

You know when you open up an image in notepad or a text editor, you get a lot of random illegible text that looks like a bunch of foreign letters.

For instance, this image: ...

results in:

‰PNG


IHDR           szzô   gAMA  ¯È7Šé   tEXtSoftware Adobe ImageReadyqÉe<  ÉIDATxÚbüÿÿ?Ã@€ bŒŒŒD)>ÎÀ t®Ûÿc` ±4¾ ¤? ñAÛa1æ<@Œ`NA,* âx 
 ð©æ€XÇ_€ø7Cô H/Ò|€Ãç € Âë  å@j>È·   b~yy[[& b؇Ÿfx}éà ÿ;Ä1€ŽHôÇ" »§N30ôƒ|’b‰°0ÖÈHf¼ÁúïÑ#†?Ë—3Ü›5‹áÞ§O¿ ™ÌÀPˆÍ „Õ@Ëç-O`²å54xkj˜-,HJ\ÿ?~døPVÆpfï^†OG,†º ÃÀ`ïR|@BÚÎŽ»±‘‘——ìTþméR†ýýO !‰ »ÅÐ8_ò¹²•OSÂ$> “>}"ÎV4µßwì`ØßÓÃðâˆÀhš Ù
@p@Sû}& ­,*Ê ÐÝÍÀÈÍ
1AQ‘Áؘ¿§Ná·ÜÌŒANŽáìY i÷áÂï¦LaØsð (M€²«b<(í &xp@²š (ÁñÅÅ10þ*}ÿžALb9€60€ˆcà 9 éé…Ê   2¨sr2@˘½ „ì€xPVSRb`º˜}Ù€‘L(@E…=`ydÉ!^@y‡´||8!ÑS@,°TÈÙl††Wƒ ˆ%,`@[›B«WCø¡¡1t ÔûX.ü}ü˜áÏ­[_¾d …Ï ]³!ém@ ±@}*^x€®eF»wCf•þü   ñ!2 9$c£¿k×2ü®­eø}ý:Џ_†„‚È v cŠn„ï‘ÁĉËQÅq”
¿,`ø‘˜ˆUN ì@ÓìA|€ ‚…€ ¨lgááÁî ho‡»»;ÞL€Ïràâ·0 ,ÀµÃ¨Áª«!!áçG¶åP†€`! Æß¿ãøó‡â6 Ô` @°¸ Jˆ`àk LŸÎÀ„Sš5!Lÿ"
P_ ±æ€_APð‚â˜7!"‚ ï@Ž %èßxñâ p; €˜ .:²ö+Ð÷ÿ°àÿ Ëãã1«^`œƒ0:`:‚mþ|f
ƒ"øÄÓAj\!ì
;€î¸ÄÿÐñüùÿ± 8LÍjþ!©ác@ÜĽ æÐn€ b€5J·«Ž} ÃØÙØÔ»å‹£ªa6 2IÝ =@»`ž x] jÃÒÁ=& ¨á»wrsQÃwÅ
†ü|„‰äH/Ȩšs@³?@¢|!L    @ Á«ãÍÀ‚èˆû,LLÀʈ‹…a¨¬ïÚš5EEøSa0€CBŠ‹u|fßEÀºàû¿ 7(–A«c€ Bil€TJëùØÙì€NV&&„Áššhå:N€¦öç¿+>dx   ©;Ë$ „Ñ$[mŒÊ    1 ëvVä üú|?°!sX‚šéåhM2€ ÂÚ(]   m”òãÍXÍrsr’eù'`Á¶áêU†—_¿‚,_PŽ¥Q
@8›åË !Á]UUMP³ŒpØ;vû6Ãw` ûÙ „·c²’&@¡!ÀÅÅÅ Lr22‚‚XÕ¿Ö#wŸ<a¸
Œïß¾KX pbžŽ @ ìš-€¶áþ!uÍX
! #þ!Ud¯€–ÿ ãЊÜ52'”èšA ƒY@þáèœþ‡vN‹Ièœã@wÏ Ç}úWF,3    IEND®B`‚

I am very sorry for that 🙂

Is there a way to use this wierd sequence of characters to recreate the image in php or in javascript (if you can even do that in javascript) by getting it from a mysql database?

Thanks.

EDIT: My question is: Can I say get that value of the image and put it in a database value, later to retrieve it?

And why, you might say? It is one of those things that is realy bugging me to find out, but I don’t know how.

  • 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-05-27T14:18:13+00:00Added an answer on May 27, 2026 at 2:18 pm

    You can use the LONGBLOB MySQL data type to store it.

    With PHP, you just have to send a image header when displaying it:

    header("Content-Type: image/png");
    // print image contents
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to know how to open an image without having a window
I want to know how to open and manipulate a simple image file in
I know that Open Office Database uses a java database backend. Does anyone have
I know that being open source does not necessarily makes a program more/less secure
I'm know trying to get into image processing for iPhone/iPad with openCV I found
I would like to open a PE file (which i know is a .Net
I have three text blocks and an image which I would like to to
Do you know any open source/free software C++ libraries to manipulate images in these
Does anyone know of an open source module or a good method for handling
Does anybody know any fine open source cube browser? Ideally, it would be something

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.