Skip to main content
removeu 19456 caracteres do conteúdo
Fonte Link
SneepS NinjA
  • 7,8mil
  • 13
  • 46
  • 92

Controller

public function getFoto($obj){
            global $c;
            $objResult = new stdClass();
            
            $c->conCordilheira();
            $mQuery = "select * from tab_cordilheira_ferias_gozo where fun_id =".$obj->fun_id;
            $query = "SELECT fd.foto as fun_foto FROM fundocumento fd where fd.cd_empresa=2011 and fd.cd_funcionario=".$obj->fun_id;
            
            $result = mssql_query($query);                
            $obj02 = mssql_fetch_object($result);
            //$result = odbc_exec($conn, $query);
            
            $c->conectarNovamente(@$_SESSION["usuario"],@$_SESSION["senha"]);
            $mResult = mysql_query($mQuery);
            $objM    = mysql_fetch_object($mResult);
            //$obj02 = odbc_fetch_object($result);
            
            $objResult->fun_dt_ferias = $objM->fun_mes_gozo;                
            $objResult->fun_foto =  $obj02->fun_foto;
            
            return $objResult;
        }

vou deixar a String que esta no formato blob para que seja possível fazer testes

$json->fun_foto="0xFFD8FFE1348345786966000049492A000800000011000E01020020000000DA0000000F01020005000000FA0000001001020009000000000100001A010500010000000A0100001B0105000100000012010000280103000100000002008A8732010200140000001A01000013020300010000000200838169870400010000004A01000001A40300010000000000898902A40300010000000000837F03A40300010000000000857F06A40300010000000000877E08A403000100000000007D7409A40300010000000000887F0AA403000100000000008179A5C407001C0000002E010000501500002020202020202020202020202020202020202020202020202020202020202000534F4E5900004453432D57333230000048000000010000004800000001000000323031333A30333A30342031363A30353A3234005072696E74494D00303330300000020002000100000001010100000016009A82050001000000580200009D820500010000006002000022880300010000000200FEFB27880300010000004006FFFB00900700040000003032323103900200140000006802000004900200140000007C02000001910700040000000102030002910500010000009002000004920A0001000000980200000592050001000000A002000007920300010000000500FFFF08920300010000000000FFFF09920300010000001000FFFE0A92050001000000A80200007C920700A0120000B002000000A00700040000003031303001A00300010000000100FFFF02A0040001000000B00A000003A0040001000000400E000000A307000100000003FEFEFE01A3070001000000015F605F000000000A000000E80300002D0000000A000000323031333A30333A30342031363A30353A323400323031333A30333A30342031363A30353A3234000300000001000000000000000A0000002E000000100000006004000064000000534F4E592044534320000000240000100400010000000000000001100400010000000000000002100400010000000000000000200700010000000000000020B00200090000008604000040B00300010000000000000041B00300010000003200000042B00300010000000400000043B00300010000000F00000044B00300010000000100000045B00300010000000000000046B00300010000000000000047B00300010000000000000048B00800010000000000000049B0030001000000000000004AB0030001000000000000004BB0030001000000000000004CB0050001000000900400004DB0030001000000000000004EB0030001000000000000004FB00300010000000100000050B00300010000000000000051B00300010000000000000052B00300010000000000000001900700D80100009804000002900700900100007006000003900700C0010000000800000490070080000000C0090000059007005C000000400A000006900700440400009C0A00000790070090010000E00E00000890070090010000701000000990070000010000001200000A900700C8000000001300000B90070090010000C81300000C90070010000000581500005374616E6461726400000A0000000A000000C000007000700100B0000000007000700071390000715E001A000000000000001A000000C652740001000200DF30000000953CFF35E03A5E56EA00000000C700BE00B8BEFA69E656B8BEFA69E656000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002F20000000000000000838B624477F38653F8A080100000000000000000000000070E20000DF300000E430000000000000B9D300005A20000000004000FCFFFBFF00000000B4B70000077D5701000000000000B64A000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003F0101BFFF3C0012FE000000000000BB005C0121FE000000000000086901EA0E5640E70EEAD85E08691B04407040E700000000000000000000000000000000E7B9000000000000000000000E018EC200003900BB005E0100000000000000000000000000000000000000000000000000000000000012080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FA696B308D8A34405C0069008A000B050000BF5D0120FE70FE7081B681B6BF5D4F04A9050000000000000000C9B6C470FF00000000004000000000006900E900000E1B00001B0808B3400000B65C0000000000006C050000CC085E123B6D00000000000000000000000000000000000000280000005600002D4069CD000000400000000000000000000000000000000008B622B6DC70000000000000D000000031CC274A31CC335B16CCCB1300000000000000000000000000000000000000000000000000000000000000000000000000FE70000000000000000000000000000000000895013F95B600007D001B00000E0000005D1BD33088668A5B5B540000000000003D690069006900000000000000000000000000C611C611C611FFFFFFFFFFFFFFFFFFFFFFFF00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000F2BD550100011A0806D8ECCDD200D48A91D8B505F88ADF058C7D1008974089003DFEE0FD47404740AFFC38FF0000217D2C0000E0073800E00738BDBDBDBDBDBDBDBDBDBDBDBDF0BF7941AC741A5270D705E0D52F1BD8BB235A8A1B5EED75428808D842B7986ADB54CB0000020052BDCBAA87AADDBDBDBDBD0000410CB3563092E3EAF9701F6913701E88FA00EFFF0000000000004A0000005D7031201B01F60040014F00BDBDBDBDBDBD54E09D74C1AC1945EE607874F902804BD6ACFA450F05FC1255E2D14489FF44AC5B4B45E0374FA4608E13A6B7D213C62B7D804B0BAA3DE300C7B74813C7B74813EF603B1300000000C7B74813685C9501F902804B000154E09D744BB7EECF01001B1B5CEA000000000000000000AC45BA008283C40000000000000000000000000000000000000000000000000000000001000000000000000000000000000000004A4A05BD015B007A00EEE6F69601795200400800000000000000000000000000000000000000000000000000000000000000005B007A00EEE600000000000000000000000000001B0000000EF0071000000000000000001B00005100A90000000600000000000000000000000000004A016F7944529D017101710171010000F4012C012C012C010000000024000000FFFF240008006A00010100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003401010040000100407051000000000000000000000000000200000000001B00000000001B00080000000000000001000000010000000000A30000000000000000000000000000000000000000000000000000000000000000000000342BBACB758E7FC247918E33C47FC2BAC4EE38EEF67F75EED083D0EEF6CB65834A8338F6CBC4CF275265F6BACBC47FDCF67F20AFA0AF20AFA4BD587BDDE5BE1523AFCBAF48BDFAE54AE5ED18B2D461AFBA3134D0B9B1EF13DAB122185EAFC141D7B19AD07CEEA013A25791AFFE442813A7D08F451ED01044FBBD5ABD36152BD4E3D47F83693197BD50BD02BD58E5AC15EFD439D412950995E7517D516495D428A392A695F895B651D2952F959C0CF4924295415D8C4C15F0266A406A460C7695EA2442795779ADE291EFF76AC1953D5C2FEF90EF981A78F09C951995A695E2513F5119A0C8ECD99298953B95955164951695F80C700C5C517D51C795D095E79537BBC7813351F995ED958A95106CCA8106816C519C6C380C5A9227BBABECA4ECA951CE929592A8926E92F5812F285451DCA09292BF921F0C390CDAA0AE5181D36F958795226C6DA0C7BB03511B519551B595DFA0E092B7BB000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000380038003800380038000000000038007400380038003800000000003800130038003800380000000000380074003800380038000000000038003800380038003800000000000000000000000000000000000000010001007D001B000500BB004C0002005400F600E80097001C00B601E0016E01F3013C017E01B7088B018E08640810087208921B8908F040671B9B1B0E7D07400D40984080401340B51BA51BA50856087D08ED012601D708D70846085508761B787D8BE709EAA4EA615691E7210E4056AAB63F0C42BEB67D870000000000AC697D00565D44CDDB5B00009500CD95FFFD000000000000001FFFFFFFFFFFFF00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040004000400008000800950087001B007D004000010040006A004C0040000E007900EF008800CD00810040002400E000C50081005D000C007D0030006C004C0081006A005E00D800D800400040007D0004005C007D0040007D004000010051005C003400ECBE31D722813C92130CC59229D79D30A4384652DF5BE4B17E41BAB135534613000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002F056405258A7BB67F6900B6088A4FCD1823243385E3EC7F154FFA7F4FC4527500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000F374F374F374F374F374F374F374F374C9B6AEB615B624B67C7016701F70C470000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000340000000000000000000000000000000000000000000000345B60042C99A68AFC1E885EF6019D7D27D500E7750B4E40EA1A43015D533508CCC3BA01094223EA4A7C2F690EAFA35E346D2B011FFF4201095B0900FC7F5E5640B94170752FD35E34940E00C40940009AAC743804AC093880B7CA3848AC51381CAC1D741CF0C2C4D1F075232AACA3381CB75A13E3E040524BAC56139979EB4FF9E28EE310E21B33E6B79138C9E074CF7A96AFCF4596D996AC2B18DCFFAC7A52224CE4C420E0324BE0C481C2D165ACCBD7650496EB7F28333E624DE38FAC5796CBAC7E4B2A91E34570628D7F56F6DEDCEB2381C42196644EB0B7EB453FAC16541EACF75492E0854B7D60F6EE0EB733F631E2074BF5F0ECC485B75C5295ACF65254B73ACF0EAC454B18E0E0EE95EF6096B7F01E23340D5968A1A98E67D1D106BF70C43B73E99E9AC1B63B341E5AD0BF723EFC7382F6A4F78FD6817D0E178A1999ABA9238A87D8D8D8D8D80E0ED8D87DD85E5E0ED8D8008AE77D0E7D8A8A008A8A5E7D7D0000E78AE77D7D7DD8E7D80ED87DD87DD85E0E0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000345101000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007F008E1FC400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000A000301030001000000060000000F01020005000000CE1500001001020009000000D4150000120103000100000001003BD51A01050001000000DE1500001B01050001000000E61500002801030001000000020024003201020014000000EE1500000102040001000000021600000202040001000000791E000000000000534F4E5900004453432D57333230000048000000010000004800000001000000323031333A30333A30342031363A30353A323400FFD8FFDB0043000101010101010101010102010101010201010202030405030203030406050405040505050406070605060808070709070505090909080A0A0A06080A08090908FFDB00430101010102010204020204080505050808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808FFC000110800A0007803011200021101031101FFC4001F0000010501010101010100000000000000000102030405060708090A0BFFC400B5100002010303020403050504040000017D01020300041105122131410613516107227114328191A1082342B1C11552D1F02433627282090A161718191A25262728292A3435363738393A434445464748494A535455565758595A636465666768696A737475767778797A838485868788898A92939495969798999AA2A3A4A5A6A7A8A9AAB2B3B4B5B6B7B8B9BAC2C3C4C5C6C7C8C9CAD2D3D4D5D6D7D8D9DAE1E2E3E4E5E6E7E8E9EAF1F2F3F4F5F6F7F8F9FAFFC4001F0100030101010101010101010000000000000102030405060708090A0BFFC400B51100020102040403040705040400010277000102031104052131061241510761711322328108144291A1B1C109233352F0156272D10A162434E125F11718191A262728292A35363738393A434445464748494A535455565758595A636465666768696A737475767778797A82838485868788898A92939495969798999AA2A3A4A5A6A7A8A9AAB2B3B4B5B6B7B8B9BAC2C3C4C5C6C7C8C9CAD2D3D4D5D6D7D8D9DAE2E3E4E5E6E7E8E9EAF2F3F4F5F6F7F8F9FAFFDA000C03010002110311003F00FEBDE05DCA0E318E94FB705700AE6BA1791525665C442A437A0C548AC1F00630298343D54B727BD4CB9EFCE0E690896355E4E327BD282C71FAD00CB0986E40C120669C8C0039E9408B29B4F51C93D052C6064027B6681938DA00C8C7F5A4C138CB73EF406AC531862463B64D26EC70B9E99C9A0696BA818D4649C600C0A01738DDD295AE5357D88995483818C1C1A9B60EBED9C5161A8E8550AA0649C7D6A465CFA8E6A5B4B51F2918033F77A9A5DB8CE4FD6937D88512065527A631531518E0649EF551D45B945D0765E0F356D941E9C639E69DEC5452664CF8553DC2E4F1562700A9190703B512237662C2BF2818EDCD2C3DB3C678A517735BA6EC5B451DBF01426EDC3038EB5444958B6A303A76A7200BCE707000A04937B1328C6091DE95491C0EE7934059B245193D3D8D3971D7A2F6A04C9D41500E724F15F29FED1BFB587823E00695736D241278ABE204D642E345D1ADF70DFBBEEB4B26D65441EF927B2F3918D6C4430EAF37637A542559DA2AE7D5E188EBD7B57F329E34FDBB7F6C5F1C5EDE5FC1E33B0F87B692CCE74EB0D36DA174B51B70A77CA923B1070492793FC20703E7EB717E5F8776954FC19EE51E17C6D5D553FC8FE9B803C7707A57F2BBE05FDA4FF6BBD0A5B7787F68DD66EA5B7BA59E18EF9209A2F9430F995E3E9F374CEDE07CA4818E58F1CE5F376E6FC0E9A9C1F8F8ABF25FE67F54A063049CF7AFCB0F80FF00F0503BB962B1D17E3E69115944ECEB2F8A34B39B58F24906EE03F3C480705D0CA075214648F6F0F9A61F18AF4E699E3E232DAF83FE241A3F53F6F1803032723D73552CB50B1D52C6D352D32F22D474EBFB68EF2C6E2DD8347346E32AC8C0905587208C8AEE4EC709698647A6314DDC4E476CD1743136919C0EBD69AE72703A039A2E2B10BE739073DA9AD963F43CD352B13CABA919DC4E3A0ED5205EA71EDF5A69F71A29CCA36B039C91524E080DC60E3349BB99A8DD9CEC2DD09EA39350C270064E4918E6923692B9A6848E47208E2A28D8024E7191CD6C9892B17918E78EE734C47F51CE314ACFA89A2EA10073C1E95E3FF1CFE2DE8BF033E0EFC4DF8BFAFC66E349F86DE08D4BC63770A901AE3ECB11758D73FC5210147B9A529A82BB2946FA23E42FDBB3F6D61F01E7D07E11FC3DB8B6BBF8B9E31D2DFC4178F2FCC9E1FD351B69B99555D4EE76F9215230EDD7E556C7F2DFF0CFE3278BBE3C6A9F12BE3B7C41D48EABF103E28F8CA6D475C9413B218611B6DE089493B6284160832700F535F0DC41C52F097A747EF3EBB23E1AFAE7EF2B6DD8FB4B59F1DEABE25D4679EEF529F53BCD52E3ED7A9DC5CBEF9AEA56EAD2B9E493FF00EA1C0AF34F01595DEA77D2DCBA91140C1547E39AFC6738CFF138C95B9B73F59CAF25A3854AD148FA0B44F871AAEAB02CB158C9E595DE481DB1D6BE99F875733BCDA2D8DD5AC9069F043E6CF338FF00583185F43FFEBAE2C3E57F5C5ACDDCF5EA57587BB50563C4ECFE17DD456C5C42FB9005C1E0723F2AFAABC492CBFBE8F4285AF239D8CAE48E149FEBF8D2AF91C28AF7A4DB2619839FC3147C771CBA8F85EF3C991982C6DB48F4CFA575DE3BF0F6B575E74C5552E1EDCAA6E1F74F624023F98AE5C3E26BE5953F74DB44E270F4F1B1F7D2B9ECFF00043F6CBD63F66AD7FC2F6DE20D4E397F676F126BD0E91E2F4BA3C78466BA7C2DCC0C0645BC923012A1CAA310CA1559B6FC1DF11F4F96EBE1F78DBC3F7A9E6C3A96817761283FEDA103D7907A57EAD9071856B28D4D4FCDF3CE16A73BCA9AB33FAF9B4BA8AF6DA0BBB67F320B98C4D13AF460DC822BF253FE08ABFB445F7C73FD8BF42D07C47A84BA8F8C7E08F88EE7E15EAEF391E6496D12ACB64DD49C085C46338E6335FAB61EBC71305389F9854A6E949C59FAE3B0E791EF52F183939E735B1162131F4E31CD3B2DD5BA0E050047803209A6B71CF5EC6802B4BD0FBAE0D24B821BBE1714DB03908C9C0C9ED5046E077CF1421B7766A46D8C639C5545B84524B3F038ABD22234D599B3D39E4D65BEAD6F12E19B8EB9A1F981F9AFFF000596D52EB48FF826E7ED237169CDC5C699A16963961813EA76E87A63B1E8783E87A197FE0AD1A59F1F7FC13CBF69CD074F656BCB5F05DB78AA30C7AAE99770DD3F71FC319C7F2AE6C57BD0691A527CB34D9FCA4FEC8AB0695F09DF5AD53F7B6D0BC9741141CB670001F53543E086AB0683FB34787EFA7859E5BD3A85C3AAF53E5CAE3F98AFC833BA0AA54926F5E87EA79356F674A2D6C7AFCBFB5C8F015A49713FC35D4AF92DCBAB4B6EBFBA2473CB6300D7E7DC5E24FDAD3E25047F0B687676FA1DEEB22CEFEC75295E06B78303E75092420A90792E66624642283B47954F87694B5A8927E734BF03D779CD57FC3BB5E506FF001D8FDA4F801FF0520D03C71A88F0CBE9335A5C4968B041653942EC464614F7C75AFCFF00F08FECC5AC7C38F8ABE0FF0013C5AD24D3CFAD450E912DB24A8B71091FBD66495EE9B1B8E01F3FB711815CD9A509E570F6919FCB7DBE47AB96E21E3AA72CE3F33F61FE3BFED4975F067E1DD86AABA57997F2411828CFF3631F2EE0371FAF5FC6BC5FF68BF0C8F1D45E1BD035905B45B5488DE08C1DDCF0092A55B19E4ED65E2BE7B0F9ACB15354D3B7E1F8EA7AD89C03C3C5CDA3E54F07FED99FB43FC69D727B1B4D1F48F0ED9C2098DAE260A64427EF005558F1ED5E39F123F612F8C16D6DE195F863F14F58F0B4735E4B75E32842C66CAEE390821A2DA155CA8CF12F9BBBF89C57DAD3C0D0942F52514FCD49FF0099F2B5F135A32B42326BBAE5FD5A67DE1E0CD7FC5FAC2EA1E1FF001CC71DE9BA88C961751F7C8E51B03EB83935F317ECFDE0AF8F1F0DF55BFD2BC6A62D5FC349747FE11E913EF40A18FDE41855C8C7CA836FA05076AF909430B3BBB5BBA7FA1ACFDA548F2D9DD77FEBFCCFD44FF82119D53C15FB4B7ED8FF000D181FEC7B9D0F49F12AA852163782E2445E71FC4B271CF6E95EC7FF000494B5D0349FDABFF6C2B9BED421B2D775BF0878266F0BDA1601AE616498DDB283D76BAA67078CF4F4FD73856ABAB46F73F2CE22A1EC6B5AC7F4365B903B9A8D086F98366BEA4F9E242DC7A60714D6E78E8B8C5017B11939C83F4A5E707B8A00AAF9F9811DB14E931B4F72179A527644A5ADCF1F9351C0CE79EF5C6CF778030DC019CD28CAE5CB737EE75628092F5E7D7BA80208DC4F154DF711A9A86BAFF361FBD71724864724B719ACDCEE07C43FF0521F12F89AD7F64FF1F58E82C92FFC2597B61E09D6E1901FF48B1BF904572A1811B498C93BB0718E9CD7B37ED35E01FF008591F03FC7DE1B863696FC695FDB3A62A292ED2DA9120541FDE700A0EBCB57CEF13CB10B0539E1BE2567A6F65BFF005D8F7F86561E58C84713F0BBAF9B5A7E27F37FF04BE1E699A0FC2FF0A689AEC7E4C76BA20925B77C128F39323A9E00C86623A5761A2BCF15AE9D6174184D690C76774AE46E5651839C719AFC7F39C64EB3F68F7693F43F52CBF0F0C3C9D28EC9B47BD7807C1BE0F8251A8C1A3AEA1792BAAC4AE8BD8F19273C7E06ADF867C57A5F86616BDBA99635B788A5BF3D1F1C74FF003ED5F3780A939D6BC9FCCFAA8E169726C676B7E1FBED6BE30E9B2EB52456115A4708B769080A84F418E7A75E9D2BE3CF8B9E11F891F177E22E8BE24F04FC49D43C25158F9E668A2198EE252A42BC80B61940E36EDF420A919AF79E09668DBE6D7CFAFA59183C647036B474F23F467E24F862596FA34D2F52B6F1089AC57C89A09415755383C1C1041EC40FA57C00FF00B3378F6FB46D2B57D73E376B179AE68FAA24B0C9A7CF7105BE090D22B40B20593278C486403B01939E7ABC3CF0D1BBB7DF77F91AC73CA78A9EAEDF81FAD3A0D9CD6FE1BF0D5E5C40A23B9D36366D98CBFCBC73CE09EE08EB5E57F0EFC50748F0E47A13EA9E7C76B0C504B1BF243018DC339C13DFFF00D7446A2A11B27B0DD3559DDA2DF8B3EC169ABDCC31D9BC91C8DE606940C1CF271D6B13C4FA81BB0F73BFCD68E308849F53CD796B171753DD46188A318C4EEFF63DD3CE8BFB6DF85BC47653058B5AF87DA86913C07A6238DDC3E3380C0FCA0F5C311DEBB7FD89F468B51F8C77DE29B99584FE1DF044F656918C6D0F3CC06E3EFB723F1AFD3784E33AF8AA738E8A2A57F9E9FF0007E47E79C4D5A952C15484B594A51B7CAEFF00E01FBD1A76B4645077D79CE8F7CE5506790BCFBD7EAEA67E5E7B7C17EB228F9BB06FC2B8DB0BCF95467A1A6A5DC968EFC481B18F4AC7B6BA05464F38CD3524CA34643904E71C62A067DC0F39EF4A7B095CF94AE2E0B6539E4027158D34D804EECFF5ACD49972D190DC4A598AFE06A99725F27A9348964AA3853D2941C8CE33C500666BB2DFA693A836991A4DA9258CCD60929C23C814EC0C7D09EB535EB6108C64E2892BAD07176776AE7F335AFE8DE25F02F8B75BD23C7BA03785FC4F63762EB53D3DA5864F204E0489F3C2F2C6772907873D7070722BE8BFF8297585A782FE27F82FC6CB2C10DA78E3C392E87A9A2F0EB7366C3649276C488EA8BFF5CEBF26E24C83D86906DAEFD7F43F46C9B887DBDE53493ECB6FD4F8F3C67E22B98229E5D3F48B8D7EFADAC5A5D334FB7640666238CB3B2A01FEF3015E57A0EA3AADE5DB08DCB4D2B05590F65E7F4AFCE7D8BCBE5AAB9F734B10B30495EC4BA1FC4FFDA12C6F627D27C25E16F00E9F647ED324DE22BC7965047B5B24A807D198D7D27A2FC27F0A78C74EB5B0F10CCB71792913CA7CC28A9D7D0E4FD2BD3C2666F10F97D9AF5BCAFF008497E47A0B02A8EBCDF276B7E2BF538FD07E3BFC74D661BA6D26EFE16EABA6C4DBEE20B4BFBDDF3B630E433C3919F4DB81EFCE7DCB49FD953E1568F2C5AB5BD94321F30C7F69B5720823D57233DFB57A98AC44A11E6E5FFD2BFCD934A94257BA5F87E88F24B2F1FF00C438F57B7B9D7BE1DB59E957566AD2EA3A65D24D0C520E3183E54BB7DC4247A915DE788B44D53C377935A69132DC690CD919E918EDD6BE6AAE6BCD2B4A22AD83505CD0763B7B5F10FDA6CADA39241133DB09E519E99E9C73C62BE64FEDE6D2EF6790DCF9C666F26DC0FE3C9E00AAC1E0557973A3CBC666BECD72C8FDA4FD89FC0560C9A87C4E96F6EE3D40DD5CF866C2052A2DE484AC6E5FEEEE63BB207CFB78FBB9191F41FECEBE1F8BC2BF0A3C09A35BDCC776D068315CDF4B136E479E6FDE4DB5B0320392071D315FB6F0E6570C1D28D57F135DFA3E9DBA1F92E779CCB3093A707EE27E5AB57D6FBF53EC3D266CAA73F856669521DA0678EA7DEBEAA2FA1F3E7A7D95C15DA7762B2EC65E40247415A2633BEB59F38078E2B2AD24DA003CF3CD0075C928239EA466B3239F2A7D08A6E44A6EE7C9923927938C5509A6C7D6B284B43493BB251210C7BE467E959A262CC55412D8205539A466E68D9590608E86B28CACB90065C755EF5CD2C4C63BB32962611EA6678A35B8B47D3E6B8601A5588BA83D07D6B80F89915C45E1ED4AEE66208B6794FB6057838FCE24BDDA5A799E2E2B3677E581FCFD7FC1403C713FC44F1CDFF879EE4C8741B48AEE151CF3286E3F41F957C37E2DF88B278CFF00683F8E704D293F61F15C5A7DA1DDC109046CB8C76C357C4E7F56BE1670E6FB4AFF00D7DDF71FA8702E59CD869D4A8EEDBFCBFE1CF17D2BE2D788BE1EEAEB6D75BB50D322510CB1B70CA31C153EDE9FCBAD749F103C1C2FE13A9C10AC8CB91314183FD7A57051AD4714B96AAD4FA7950A98577A6EC8EC65FDAB2CEC88960F3A4CAA865620631DB1F5AF8DB5CF095F4AFB6CD72C405553DEAFFB270D2D56874FF6A5782D51F76787FF006D91672AB3CB347018BCA64273C13DB9FE95F10F873E1BEAF23EFD52DFECD18F9CEEEF5957C0D0868E5F8970CD2BC969F91F7778C3F6B3BDD76C1A2F0EDA3CF733A81B9F21141EE7A13FE79AF08F0BF83E296458638F7C719FBCBDF35C2F0386A7EF5AFEA153155EB69267ACF833C55ABEA737F6BEBD746796DD0CF9E8176F3C0E95CF78BEE13C23E03F12DE8C46F1E953980818C61093FE7358294E5250A6B764E1F0706F9A7F89FD2E7FC12DBE225FFC51FD963E17EADAA4E6E2F6FBC21617C4B1E433C609F5FA1AE53FE08CDA54BA6FEC9FF05AD2E502F9DF0E348BFCE39FDEC21B9FCEBF44C3E22581AD28C364DFE67E0399629E16BB70F99FADBA66470C36B29DA6BA0B9D3A289E49A29361CEF9011D47AFF8D7D653C7539A4EF63AE963E9CD5DBB1AB66C303B7A5456CAEB838C8EA08AEDA75A3557BAEE75C6B467F0BB9D65ACA40527AF7ACFB7948E4F191F9568A57354F43A88E6F9096EE0F4ACC49709C1E02F34E4D8A2B5B9F35FD9ECA3E652D7040EFC03598F2C613CC2F85E738AF8A9E6D5A7B33E1AB6795A5D44D42F12DE3629B61403F8715F3F7C6BF19EADE1FF000678AF50F0F80FADE9DE19BFBDD1D3030D347133479CF1F7B1D78AE3A98B9D4F89B6799531F52ABBB669EA5FB487ECEFE02F1AE9DF0F7E227C76F08F827E20F882485F49D1B56D5AD20BC9BCE3B62DB14922B7EF0F09C7CC7819AFE1B7E2BFC0EF88FE3EF891E25F185EE89AB78E759D6B529751D5B526B79E437523B659B76D3904F427B577D0509C3E2B1DB4F1B4A30E5BD99FDDA7C779E44F0C5CD9D>fun_foto="0xFFD8FFE1348345786966000049492A000800000011000E01020020000000DA0000000F01020005000000FA0000001001020009000000000100001A010500010000000A0100001B0105000100000012010000280103000100000002008A8732010200140000001A01000013020300010000000200838169870400010000004A01000001A40300010000000000898902A40300010000000000837F03A40300010000000000857F06A40300010000000000877E08A403000100000000007D7409A40300010000000000887F0AA403000100000000008179A5C407001C0000002E010000501500002020202020202020202020202020202020202020202020202020202020202000534F4E5900004453432D57333230000048000000010000004800000001000000323031333A30333A30342031363A30353A3234005072696E74494D00303330300000020002000100000001010100000016009A82050001000000580200009D820500010000006002000022880300010000000200FEFB27880300010000004006FFFB00900700040000003032323103900200140000006802000004900200140000007C02000001910700040000000102030002910500010000009002000004920A0001000000980200000592050001000000A002000007920300010000000500FFFF08920300010000000000FFFF09920300010000001000FFFE0A92050001000000A80200007C920700A0120000B002000000A00700040000003031303001A00300010000000100FFFF02A0040001000000B00A000003A0040001000000400E000000A307000100000003FEFEFE01A3070001000000015F605F000000000A000000E80300002D0000000A000000323031333A30333A30342031363A30353A323400323031333A30333A30342031363A30353A32340003000000010..."

vou deixar a String que esta no formato blob para que seja possível fazer testes

$json->fun_foto="0xFFD8FFE1348345786966000049492A000800000011000E01020020000000DA0000000F01020005000000FA0000001001020009000000000100001A010500010000000A0100001B0105000100000012010000280103000100000002008A8732010200140000001A01000013020300010000000200838169870400010000004A01000001A40300010000000000898902A40300010000000000837F03A40300010000000000857F06A40300010000000000877E08A403000100000000007D7409A40300010000000000887F0AA403000100000000008179A5C407001C0000002E010000501500002020202020202020202020202020202020202020202020202020202020202000534F4E5900004453432D57333230000048000000010000004800000001000000323031333A30333A30342031363A30353A3234005072696E74494D00303330300000020002000100000001010100000016009A82050001000000580200009D820500010000006002000022880300010000000200FEFB27880300010000004006FFFB00900700040000003032323103900200140000006802000004900200140000007C02000001910700040000000102030002910500010000009002000004920A0001000000980200000592050001000000A002000007920300010000000500FFFF08920300010000000000FFFF09920300010000001000FFFE0A92050001000000A80200007C920700A0120000B002000000A00700040000003031303001A00300010000000100FFFF02A0040001000000B00A000003A0040001000000400E000000A307000100000003FEFEFE01A3070001000000015F605F000000000A000000E80300002D0000000A000000323031333A30333A30342031363A30353A323400323031333A30333A30342031363A30353A3234000300000001000000000000000A0000002E000000100000006004000064000000534F4E592044534320000000240000100400010000000000000001100400010000000000000002100400010000000000000000200700010000000000000020B00200090000008604000040B00300010000000000000041B00300010000003200000042B00300010000000400000043B00300010000000F00000044B00300010000000100000045B00300010000000000000046B00300010000000000000047B00300010000000000000048B00800010000000000000049B0030001000000000000004AB0030001000000000000004BB0030001000000000000004CB0050001000000900400004DB0030001000000000000004EB0030001000000000000004FB00300010000000100000050B00300010000000000000051B00300010000000000000052B00300010000000000000001900700D80100009804000002900700900100007006000003900700C0010000000800000490070080000000C0090000059007005C000000400A000006900700440400009C0A00000790070090010000E00E00000890070090010000701000000990070000010000001200000A900700C8000000001300000B90070090010000C81300000C90070010000000581500005374616E6461726400000A0000000A000000C000007000700100B0000000007000700071390000715E001A000000000000001A000000C652740001000200DF30000000953CFF35E03A5E56EA00000000C700BE00B8BEFA69E656B8BEFA69E656000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002F20000000000000000838B624477F38653F8A080100000000000000000000000070E20000DF300000E430000000000000B9D300005A20000000004000FCFFFBFF00000000B4B70000077D5701000000000000B64A000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003F0101BFFF3C0012FE000000000000BB005C0121FE000000000000086901EA0E5640E70EEAD85E08691B04407040E700000000000000000000000000000000E7B9000000000000000000000E018EC200003900BB005E0100000000000000000000000000000000000000000000000000000000000012080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FA696B308D8A34405C0069008A000B050000BF5D0120FE70FE7081B681B6BF5D4F04A9050000000000000000C9B6C470FF00000000004000000000006900E900000E1B00001B0808B3400000B65C0000000000006C050000CC085E123B6D00000000000000000000000000000000000000280000005600002D4069CD000000400000000000000000000000000000000008B622B6DC70000000000000D000000031CC274A31CC335B16CCCB1300000000000000000000000000000000000000000000000000000000000000000000000000FE70000000000000000000000000000000000895013F95B600007D001B00000E0000005D1BD33088668A5B5B540000000000003D690069006900000000000000000000000000C611C611C611FFFFFFFFFFFFFFFFFFFFFFFF00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000F2BD550100011A0806D8ECCDD200D48A91D8B505F88ADF058C7D1008974089003DFEE0FD47404740AFFC38FF0000217D2C0000E0073800E00738BDBDBDBDBDBDBDBDBDBDBDBDF0BF7941AC741A5270D705E0D52F1BD8BB235A8A1B5EED75428808D842B7986ADB54CB0000020052BDCBAA87AADDBDBDBDBD0000410CB3563092E3EAF9701F6913701E88FA00EFFF0000000000004A0000005D7031201B01F60040014F00BDBDBDBDBDBD54E09D74C1AC1945EE607874F902804BD6ACFA450F05FC1255E2D14489FF44AC5B4B45E0374FA4608E13A6B7D213C62B7D804B0BAA3DE300C7B74813C7B74813EF603B1300000000C7B74813685C9501F902804B000154E09D744BB7EECF01001B1B5CEA000000000000000000AC45BA008283C40000000000000000000000000000000000000000000000000000000001000000000000000000000000000000004A4A05BD015B007A00EEE6F69601795200400800000000000000000000000000000000000000000000000000000000000000005B007A00EEE600000000000000000000000000001B0000000EF0071000000000000000001B00005100A90000000600000000000000000000000000004A016F7944529D017101710171010000F4012C012C012C010000000024000000FFFF240008006A00010100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003401010040000100407051000000000000000000000000000200000000001B00000000001B00080000000000000001000000010000000000A30000000000000000000000000000000000000000000000000000000000000000000000342BBACB758E7FC247918E33C47FC2BAC4EE38EEF67F75EED083D0EEF6CB65834A8338F6CBC4CF275265F6BACBC47FDCF67F20AFA0AF20AFA4BD587BDDE5BE1523AFCBAF48BDFAE54AE5ED18B2D461AFBA3134D0B9B1EF13DAB122185EAFC141D7B19AD07CEEA013A25791AFFE442813A7D08F451ED01044FBBD5ABD36152BD4E3D47F83693197BD50BD02BD58E5AC15EFD439D412950995E7517D516495D428A392A695F895B651D2952F959C0CF4924295415D8C4C15F0266A406A460C7695EA2442795779ADE291EFF76AC1953D5C2FEF90EF981A78F09C951995A695E2513F5119A0C8ECD99298953B95955164951695F80C700C5C517D51C795D095E79537BBC7813351F995ED958A95106CCA8106816C519C6C380C5A9227BBABECA4ECA951CE929592A8926E92F5812F285451DCA09292BF921F0C390CDAA0AE5181D36F958795226C6DA0C7BB03511B519551B595DFA0E092B7BB000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000380038003800380038000000000038007400380038003800000000003800130038003800380000000000380074003800380038000000000038003800380038003800000000000000000000000000000000000000010001007D001B000500BB004C0002005400F600E80097001C00B601E0016E01F3013C017E01B7088B018E08640810087208921B8908F040671B9B1B0E7D07400D40984080401340B51BA51BA50856087D08ED012601D708D70846085508761B787D8BE709EAA4EA615691E7210E4056AAB63F0C42BEB67D870000000000AC697D00565D44CDDB5B00009500CD95FFFD000000000000001FFFFFFFFFFFFF00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040004000400008000800950087001B007D004000010040006A004C0040000E007900EF008800CD00810040002400E000C50081005D000C007D0030006C004C0081006A005E00D800D800400040007D0004005C007D0040007D004000010051005C003400ECBE31D722813C92130CC59229D79D30A4384652DF5BE4B17E41BAB135534613000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002F056405258A7BB67F6900B6088A4FCD1823243385E3EC7F154FFA7F4FC4527500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000F374F374F374F374F374F374F374F374C9B6AEB615B624B67C7016701F70C470000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000340000000000000000000000000000000000000000000000345B60042C99A68AFC1E885EF6019D7D27D500E7750B4E40EA1A43015D533508CCC3BA01094223EA4A7C2F690EAFA35E346D2B011FFF4201095B0900FC7F5E5640B94170752FD35E34940E00C40940009AAC743804AC093880B7CA3848AC51381CAC1D741CF0C2C4D1F075232AACA3381CB75A13E3E040524BAC56139979EB4FF9E28EE310E21B33E6B79138C9E074CF7A96AFCF4596D996AC2B18DCFFAC7A52224CE4C420E0324BE0C481C2D165ACCBD7650496EB7F28333E624DE38FAC5796CBAC7E4B2A91E34570628D7F56F6DEDCEB2381C42196644EB0B7EB453FAC16541EACF75492E0854B7D60F6EE0EB733F631E2074BF5F0ECC485B75C5295ACF65254B73ACF0EAC454B18E0E0EE95EF6096B7F01E23340D5968A1A98E67D1D106BF70C43B73E99E9AC1B63B341E5AD0BF723EFC7382F6A4F78FD6817D0E178A1999ABA9238A87D8D8D8D8D80E0ED8D87DD85E5E0ED8D8008AE77D0E7D8A8A008A8A5E7D7D0000E78AE77D7D7DD8E7D80ED87DD87DD85E0E0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000345101000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007F008E1FC400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000A000301030001000000060000000F01020005000000CE1500001001020009000000D4150000120103000100000001003BD51A01050001000000DE1500001B01050001000000E61500002801030001000000020024003201020014000000EE1500000102040001000000021600000202040001000000791E000000000000534F4E5900004453432D57333230000048000000010000004800000001000000323031333A30333A30342031363A30353A323400FFD8FFDB0043000101010101010101010102010101010201010202030405030203030406050405040505050406070605060808070709070505090909080A0A0A06080A08090908FFDB00430101010102010204020204080505050808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808FFC000110800A0007803011200021101031101FFC4001F0000010501010101010100000000000000000102030405060708090A0BFFC400B5100002010303020403050504040000017D01020300041105122131410613516107227114328191A1082342B1C11552D1F02433627282090A161718191A25262728292A3435363738393A434445464748494A535455565758595A636465666768696A737475767778797A838485868788898A92939495969798999AA2A3A4A5A6A7A8A9AAB2B3B4B5B6B7B8B9BAC2C3C4C5C6C7C8C9CAD2D3D4D5D6D7D8D9DAE1E2E3E4E5E6E7E8E9EAF1F2F3F4F5F6F7F8F9FAFFC4001F0100030101010101010101010000000000000102030405060708090A0BFFC400B51100020102040403040705040400010277000102031104052131061241510761711322328108144291A1B1C109233352F0156272D10A162434E125F11718191A262728292A35363738393A434445464748494A535455565758595A636465666768696A737475767778797A82838485868788898A92939495969798999AA2A3A4A5A6A7A8A9AAB2B3B4B5B6B7B8B9BAC2C3C4C5C6C7C8C9CAD2D3D4D5D6D7D8D9DAE2E3E4E5E6E7E8E9EAF2F3F4F5F6F7F8F9FAFFDA000C03010002110311003F00FEBDE05DCA0E318E94FB705700AE6BA1791525665C442A437A0C548AC1F00630298343D54B727BD4CB9EFCE0E690896355E4E327BD282C71FAD00CB0986E40C120669C8C0039E9408B29B4F51C93D052C6064027B6681938DA00C8C7F5A4C138CB73EF406AC531862463B64D26EC70B9E99C9A0696BA818D4649C600C0A01738DDD295AE5357D88995483818C1C1A9B60EBED9C5161A8E8550AA0649C7D6A465CFA8E6A5B4B51F2918033F77A9A5DB8CE4FD6937D88512065527A631531518E0649EF551D45B945D0765E0F356D941E9C639E69DEC5452664CF8553DC2E4F1562700A9190703B512237662C2BF2818EDCD2C3DB3C678A517735BA6EC5B451DBF01426EDC3038EB5444958B6A303A76A7200BCE707000A04937B1328C6091DE95491C0EE7934059B245193D3D8D3971D7A2F6A04C9D41500E724F15F29FED1BFB587823E00695736D241278ABE204D642E345D1ADF70DFBBEEB4B26D65441EF927B2F3918D6C4430EAF37637A542559DA2AE7D5E188EBD7B57F329E34FDBB7F6C5F1C5EDE5FC1E33B0F87B692CCE74EB0D36DA174B51B70A77CA923B1070492793FC20703E7EB717E5F8776954FC19EE51E17C6D5D553FC8FE9B803C7707A57F2BBE05FDA4FF6BBD0A5B7787F68DD66EA5B7BA59E18EF9209A2F9430F995E3E9F374CEDE07CA4818E58F1CE5F376E6FC0E9A9C1F8F8ABF25FE67F54A063049CF7AFCB0F80FF00F0503BB962B1D17E3E69115944ECEB2F8A34B39B58F24906EE03F3C480705D0CA075214648F6F0F9A61F18AF4E699E3E232DAF83FE241A3F53F6F1803032723D73552CB50B1D52C6D352D32F22D474EBFB68EF2C6E2DD8347346E32AC8C0905587208C8AEE4EC709698647A6314DDC4E476CD1743136919C0EBD69AE72703A039A2E2B10BE739073DA9AD963F43CD352B13CABA919DC4E3A0ED5205EA71EDF5A69F71A29CCA36B039C91524E080DC60E3349BB99A8DD9CEC2DD09EA39350C270064E4918E6923692B9A6848E47208E2A28D8024E7191CD6C9892B17918E78EE734C47F51CE314ACFA89A2EA10073C1E95E3FF1CFE2DE8BF033E0EFC4DF8BFAFC66E349F86DE08D4BC63770A901AE3ECB11758D73FC5210147B9A529A82BB2946FA23E42FDBB3F6D61F01E7D07E11FC3DB8B6BBF8B9E31D2DFC4178F2FCC9E1FD351B69B99555D4EE76F9215230EDD7E556C7F2DFF0CFE3278BBE3C6A9F12BE3B7C41D48EABF103E28F8CA6D475C9413B218611B6DE089493B6284160832700F535F0DC41C52F097A747EF3EBB23E1AFAE7EF2B6DD8FB4B59F1DEABE25D4679EEF529F53BCD52E3ED7A9DC5CBEF9AEA56EAD2B9E493FF00EA1C0AF34F01595DEA77D2DCBA91140C1547E39AFC6738CFF138C95B9B73F59CAF25A3854AD148FA0B44F871AAEAB02CB158C9E595DE481DB1D6BE99F875733BCDA2D8DD5AC9069F043E6CF338FF00583185F43FFEBAE2C3E57F5C5ACDDCF5EA57587BB50563C4ECFE17DD456C5C42FB9005C1E0723F2AFAABC492CBFBE8F4285AF239D8CAE48E149FEBF8D2AF91C28AF7A4DB2619839FC3147C771CBA8F85EF3C991982C6DB48F4CFA575DE3BF0F6B575E74C5552E1EDCAA6E1F74F624023F98AE5C3E26BE5953F74DB44E270F4F1B1F7D2B9ECFF00043F6CBD63F66AD7FC2F6DE20D4E397F676F126BD0E91E2F4BA3C78466BA7C2DCC0C0645BC923012A1CAA310CA1559B6FC1DF11F4F96EBE1F78DBC3F7A9E6C3A96817761283FEDA103D7907A57EAD9071856B28D4D4FCDF3CE16A73BCA9AB33FAF9B4BA8AF6DA0BBB67F320B98C4D13AF460DC822BF253FE08ABFB445F7C73FD8BF42D07C47A84BA8F8C7E08F88EE7E15EAEF391E6496D12ACB64DD49C085C46338E6335FAB61EBC71305389F9854A6E949C59FAE3B0E791EF52F183939E735B1162131F4E31CD3B2DD5BA0E050047803209A6B71CF5EC6802B4BD0FBAE0D24B821BBE1714DB03908C9C0C9ED5046E077CF1421B7766A46D8C639C5545B84524B3F038ABD22234D599B3D39E4D65BEAD6F12E19B8EB9A1F981F9AFFF000596D52EB48FF826E7ED237169CDC5C699A16963961813EA76E87A63B1E8783E87A197FE0AD1A59F1F7FC13CBF69CD074F656BCB5F05DB78AA30C7AAE99770DD3F71FC319C7F2AE6C57BD0691A527CB34D9FCA4FEC8AB0695F09DF5AD53F7B6D0BC9741141CB670001F53543E086AB0683FB34787EFA7859E5BD3A85C3AAF53E5CAE3F98AFC833BA0AA54926F5E87EA79356F674A2D6C7AFCBFB5C8F015A49713FC35D4AF92DCBAB4B6EBFBA2473CB6300D7E7DC5E24FDAD3E25047F0B687676FA1DEEB22CEFEC75295E06B78303E75092420A90792E66624642283B47954F87694B5A8927E734BF03D779CD57FC3BB5E506FF001D8FDA4F801FF0520D03C71A88F0CBE9335A5C4968B041653942EC464614F7C75AFCFF00F08FECC5AC7C38F8ABE0FF0013C5AD24D3CFAD450E912DB24A8B71091FBD66495EE9B1B8E01F3FB711815CD9A509E570F6919FCB7DBE47AB96E21E3AA72CE3F33F61FE3BFED4975F067E1DD86AABA57997F2411828CFF3631F2EE0371FAF5FC6BC5FF68BF0C8F1D45E1BD035905B45B5488DE08C1DDCF0092A55B19E4ED65E2BE7B0F9ACB15354D3B7E1F8EA7AD89C03C3C5CDA3E54F07FED99FB43FC69D727B1B4D1F48F0ED9C2098DAE260A64427EF005558F1ED5E39F123F612F8C16D6DE195F863F14F58F0B4735E4B75E32842C66CAEE390821A2DA155CA8CF12F9BBBF89C57DAD3C0D0942F52514FCD49FF0099F2B5F135A32B42326BBAE5FD5A67DE1E0CD7FC5FAC2EA1E1FF001CC71DE9BA88C961751F7C8E51B03EB83935F317ECFDE0AF8F1F0DF55BFD2BC6A62D5FC349747FE11E913EF40A18FDE41855C8C7CA836FA05076AF909430B3BBB5BBA7FA1ACFDA548F2D9DD77FEBFCCFD44FF82119D53C15FB4B7ED8FF000D181FEC7B9D0F49F12AA852163782E2445E71FC4B271CF6E95EC7FF000494B5D0349FDABFF6C2B9BED421B2D775BF0878266F0BDA1601AE616498DDB283D76BAA67078CF4F4FD73856ABAB46F73F2CE22A1EC6B5AC7F4365B903B9A8D086F98366BEA4F9E242DC7A60714D6E78E8B8C5017B11939C83F4A5E707B8A00AAF9F9811DB14E931B4F72179A527644A5ADCF1F9351C0CE79EF5C6CF778030DC019CD28CAE5CB737EE75628092F5E7D7BA80208DC4F154DF711A9A86BAFF361FBD71724864724B719ACDCEE07C43FF0521F12F89AD7F64FF1F58E82C92FFC2597B61E09D6E1901FF48B1BF904572A1811B498C93BB0718E9CD7B37ED35E01FF008591F03FC7DE1B863696FC695FDB3A62A292ED2DA9120541FDE700A0EBCB57CEF13CB10B0539E1BE2567A6F65BFF005D8F7F86561E58C84713F0BBAF9B5A7E27F37FF04BE1E699A0FC2FF0A689AEC7E4C76BA20925B77C128F39323A9E00C86623A5761A2BCF15AE9D6174184D690C76774AE46E5651839C719AFC7F39C64EB3F68F7693F43F52CBF0F0C3C9D28EC9B47BD7807C1BE0F8251A8C1A3AEA1792BAAC4AE8BD8F19273C7E06ADF867C57A5F86616BDBA99635B788A5BF3D1F1C74FF003ED5F3780A939D6BC9FCCFAA8E169726C676B7E1FBED6BE30E9B2EB52456115A4708B769080A84F418E7A75E9D2BE3CF8B9E11F891F177E22E8BE24F04FC49D43C25158F9E668A2198EE252A42BC80B61940E36EDF420A919AF79E09668DBE6D7CFAFA59183C647036B474F23F467E24F862596FA34D2F52B6F1089AC57C89A09415755383C1C1041EC40FA57C00FF00B3378F6FB46D2B57D73E376B179AE68FAA24B0C9A7CF7105BE090D22B40B20593278C486403B01939E7ABC3CF0D1BBB7DF77F91AC73CA78A9EAEDF81FAD3A0D9CD6FE1BF0D5E5C40A23B9D36366D98CBFCBC73CE09EE08EB5E57F0EFC50748F0E47A13EA9E7C76B0C504B1BF243018DC339C13DFFF00D7446A2A11B27B0DD3559DDA2DF8B3EC169ABDCC31D9BC91C8DE606940C1CF271D6B13C4FA81BB0F73BFCD68E308849F53CD796B171753DD46188A318C4EEFF63DD3CE8BFB6DF85BC47653058B5AF87DA86913C07A6238DDC3E3380C0FCA0F5C311DEBB7FD89F468B51F8C77DE29B99584FE1DF044F656918C6D0F3CC06E3EFB723F1AFD3784E33AF8AA738E8A2A57F9E9FF0007E47E79C4D5A952C15484B594A51B7CAEFF00E01FBD1A76B4645077D79CE8F7CE5506790BCFBD7EAEA67E5E7B7C17EB228F9BB06FC2B8DB0BCF95467A1A6A5DC968EFC481B18F4AC7B6BA05464F38CD3524CA34643904E71C62A067DC0F39EF4A7B095CF94AE2E0B6539E4027158D34D804EECFF5ACD49972D190DC4A598AFE06A99725F27A9348964AA3853D2941C8CE33C500666BB2DFA693A836991A4DA9258CCD60929C23C814EC0C7D09EB535EB6108C64E2892BAD07176776AE7F335AFE8DE25F02F8B75BD23C7BA03785FC4F63762EB53D3DA5864F204E0489F3C2F2C6772907873D7070722BE8BFF8297585A782FE27F82FC6CB2C10DA78E3C392E87A9A2F0EB7366C3649276C488EA8BFF5CEBF26E24C83D86906DAEFD7F43F46C9B887DBDE53493ECB6FD4F8F3C67E22B98229E5D3F48B8D7EFADAC5A5D334FB7640666238CB3B2A01FEF3015E57A0EA3AADE5DB08DCB4D2B05590F65E7F4AFCE7D8BCBE5AAB9F734B10B30495EC4BA1FC4FFDA12C6F627D27C25E16F00E9F647ED324DE22BC7965047B5B24A807D198D7D27A2FC27F0A78C74EB5B0F10CCB71792913CA7CC28A9D7D0E4FD2BD3C2666F10F97D9AF5BCAFF008497E47A0B02A8EBCDF276B7E2BF538FD07E3BFC74D661BA6D26EFE16EABA6C4DBEE20B4BFBDDF3B630E433C3919F4DB81EFCE7DCB49FD953E1568F2C5AB5BD94321F30C7F69B5720823D57233DFB57A98AC44A11E6E5FFD2BFCD934A94257BA5F87E88F24B2F1FF00C438F57B7B9D7BE1DB59E957566AD2EA3A65D24D0C520E3183E54BB7DC4247A915DE788B44D53C377935A69132DC690CD919E918EDD6BE6AAE6BCD2B4A22AD83505CD0763B7B5F10FDA6CADA39241133DB09E519E99E9C73C62BE64FEDE6D2EF6790DCF9C666F26DC0FE3C9E00AAC1E0557973A3CBC666BECD72C8FDA4FD89FC0560C9A87C4E96F6EE3D40DD5CF866C2052A2DE484AC6E5FEEEE63BB207CFB78FBB9191F41FECEBE1F8BC2BF0A3C09A35BDCC776D068315CDF4B136E479E6FDE4DB5B0320392071D315FB6F0E6570C1D28D57F135DFA3E9DBA1F92E779CCB3093A707EE27E5AB57D6FBF53EC3D266CAA73F856669521DA0678EA7DEBEAA2FA1F3E7A7D95C15DA7762B2EC65E40247415A2633BEB59F38078E2B2AD24DA003CF3CD0075C928239EA466B3239F2A7D08A6E44A6EE7C9923927938C5509A6C7D6B284B43493BB251210C7BE467E959A262CC55412D8205539A466E68D9590608E86B28CACB90065C755EF5CD2C4C63BB32962611EA6678A35B8B47D3E6B8601A5588BA83D07D6B80F89915C45E1ED4AEE66208B6794FB6057838FCE24BDDA5A799E2E2B3677E581FCFD7FC1403C713FC44F1CDFF879EE4C8741B48AEE151CF3286E3F41F957C37E2DF88B278CFF00683F8E704D293F61F15C5A7DA1DDC109046CB8C76C357C4E7F56BE1670E6FB4AFF00D7DDF71FA8702E59CD869D4A8EEDBFCBFE1CF17D2BE2D788BE1EEAEB6D75BB50D322510CB1B70CA31C153EDE9FCBAD749F103C1C2FE13A9C10AC8CB91314183FD7A57051AD4714B96AAD4FA7950A98577A6EC8EC65FDAB2CEC88960F3A4CAA865620631DB1F5AF8DB5CF095F4AFB6CD72C405553DEAFFB270D2D56874FF6A5782D51F76787FF006D91672AB3CB347018BCA64273C13DB9FE95F10F873E1BEAF23EFD52DFECD18F9CEEEF5957C0D0868E5F8970CD2BC969F91F7778C3F6B3BDD76C1A2F0EDA3CF733A81B9F21141EE7A13FE79AF08F0BF83E296458638F7C719FBCBDF35C2F0386A7EF5AFEA153155EB69267ACF833C55ABEA737F6BEBD746796DD0CF9E8176F3C0E95CF78BEE13C23E03F12DE8C46F1E953980818C61093FE7358294E5250A6B764E1F0706F9A7F89FD2E7FC12DBE225FFC51FD963E17EADAA4E6E2F6FBC21617C4B1E433C609F5FA1AE53FE08CDA54BA6FEC9FF05AD2E502F9DF0E348BFCE39FDEC21B9FCEBF44C3E22581AD28C364DFE67E0399629E16BB70F99FADBA66470C36B29DA6BA0B9D3A289E49A29361CEF9011D47AFF8D7D653C7539A4EF63AE963E9CD5DBB1AB66C303B7A5456CAEB838C8EA08AEDA75A3557BAEE75C6B467F0BB9D65ACA40527AF7ACFB7948E4F191F9568A57354F43A88E6F9096EE0F4ACC49709C1E02F34E4D8A2B5B9F35FD9ECA3E652D7040EFC03598F2C613CC2F85E738AF8A9E6D5A7B33E1AB6795A5D44D42F12DE3629B61403F8715F3F7C6BF19EADE1FF000678AF50F0F80FADE9DE19BFBDD1D3030D347133479CF1F7B1D78AE3A98B9D4F89B6799531F52ABBB669EA5FB487ECEFE02F1AE9DF0F7E227C76F08F827E20F882485F49D1B56D5AD20BC9BCE3B62DB14922B7EF0F09C7CC7819AFE1B7E2BFC0EF88FE3EF891E25F185EE89AB78E759D6B529751D5B526B79E437523B659B76D3904F427B577D0509C3E2B1DB4F1B4A30E5BD99FDDA7C779E44F0C5CD9D..."

Controller

public function getFoto($obj){
            global $c;
            $objResult = new stdClass();
            
            $c->conCordilheira();
            $mQuery = "select * from tab_cordilheira_ferias_gozo where fun_id =".$obj->fun_id;
            $query = "SELECT fd.foto as fun_foto FROM fundocumento fd where fd.cd_empresa=2011 and fd.cd_funcionario=".$obj->fun_id;
            
            $result = mssql_query($query);                
            $obj02 = mssql_fetch_object($result);
            //$result = odbc_exec($conn, $query);
            
            $c->conectarNovamente(@$_SESSION["usuario"],@$_SESSION["senha"]);
            $mResult = mysql_query($mQuery);
            $objM    = mysql_fetch_object($mResult);
            //$obj02 = odbc_fetch_object($result);
            
            $objResult->fun_dt_ferias = $objM->fun_mes_gozo;                
            $objResult->fun_foto =  $obj02->fun_foto;
            
            return $objResult;
        }

vou deixar a String que esta no formato blob para que seja possível fazer testes

$json->fun_foto="0xFFD8FFE1348345786966000049492A000800000011000E01020020000000DA0000000F01020005000000FA0000001001020009000000000100001A010500010000000A0100001B0105000100000012010000280103000100000002008A8732010200140000001A01000013020300010000000200838169870400010000004A01000001A40300010000000000898902A40300010000000000837F03A40300010000000000857F06A40300010000000000877E08A403000100000000007D7409A40300010000000000887F0AA403000100000000008179A5C407001C0000002E010000501500002020202020202020202020202020202020202020202020202020202020202000534F4E5900004453432D57333230000048000000010000004800000001000000323031333A30333A30342031363A30353A3234005072696E74494D00303330300000020002000100000001010100000016009A82050001000000580200009D820500010000006002000022880300010000000200FEFB27880300010000004006FFFB00900700040000003032323103900200140000006802000004900200140000007C02000001910700040000000102030002910500010000009002000004920A0001000000980200000592050001000000A002000007920300010000000500FFFF08920300010000000000FFFF09920300010000001000FFFE0A92050001000000A80200007C920700A0120000B002000000A00700040000003031303001A00300010000000100FFFF02A0040001000000B00A000003A0040001000000400E000000A307000100000003FEFEFE01A3070001000000015F605F000000000A000000E80300002D0000000A000000323031333A30333A30342031363A30353A323400323031333A30333A30342031363A30353A32340003000000010..."
adicionou 22023 caracteres ao conteúdo
Fonte Link
SneepS NinjA
  • 7,8mil
  • 13
  • 46
  • 92

Tenho uma imagem que esta no banco de dados guardada em formato blob, tenho que usar o base64_encode no php antes de devolver a solicitação ajax e isso esta deixando o processo meio lento no lado do servidor. É possível fazer ou tem alguma função nativa no javascript ou jQuery que faça esse mesmo trabalho do base64_encode do php no lado do cliente no javascript ?

cenário atual: javascript

fun.ajaxFoto = custom.ajaxAsync(p,'getFoto','../view/rh/vFuncionarioDetalhes.php');
fun.ajaxFoto.done(function(json){
    $("#fun_foto").empty();
    var img = $('<img>').attr('src',"data:image/jpg;base64," + json.fun_foto);
});

vai para o arquivo vFuncionarioDetalhes.php

function getFoto(){
    global $colFuncionario; 
    
    $obj = (object) $_REQUEST['obj'];

    $json = $colFuncionario->getFoto($obj);

    // QUERIA MUDAR ESSA LINHA ABAIXO E ENTREGAR DIRETO O $json->fun_foto
    $json->fun_foto = base64_encode( $json->fun_foto );
    echo json_encode( $json );
}

vou deixar a String que esta no formato blob para que seja possível fazer testes

$json->fun_foto="0xFFD8FFE1348345786966000049492A000800000011000E01020020000000DA0000000F01020005000000FA0000001001020009000000000100001A010500010000000A0100001B0105000100000012010000280103000100000002008A8732010200140000001A01000013020300010000000200838169870400010000004A01000001A40300010000000000898902A40300010000000000837F03A40300010000000000857F06A40300010000000000877E08A403000100000000007D7409A40300010000000000887F0AA403000100000000008179A5C407001C0000002E010000501500002020202020202020202020202020202020202020202020202020202020202000534F4E5900004453432D57333230000048000000010000004800000001000000323031333A30333A30342031363A30353A3234005072696E74494D00303330300000020002000100000001010100000016009A82050001000000580200009D820500010000006002000022880300010000000200FEFB27880300010000004006FFFB00900700040000003032323103900200140000006802000004900200140000007C02000001910700040000000102030002910500010000009002000004920A0001000000980200000592050001000000A002000007920300010000000500FFFF08920300010000000000FFFF09920300010000001000FFFE0A92050001000000A80200007C920700A0120000B002000000A00700040000003031303001A00300010000000100FFFF02A0040001000000B00A000003A0040001000000400E000000A307000100000003FEFEFE01A3070001000000015F605F000000000A000000E80300002D0000000A000000323031333A30333A30342031363A30353A323400323031333A30333A30342031363A30353A3234000300000001000000000000000A0000002E000000100000006004000064000000534F4E592044534320000000240000100400010000000000000001100400010000000000000002100400010000000000000000200700010000000000000020B00200090000008604000040B00300010000000000000041B00300010000003200000042B00300010000000400000043B00300010000000F00000044B00300010000000100000045B00300010000000000000046B00300010000000000000047B00300010000000000000048B00800010000000000000049B0030001000000000000004AB0030001000000000000004BB0030001000000000000004CB0050001000000900400004DB0030001000000000000004EB0030001000000000000004FB00300010000000100000050B00300010000000000000051B00300010000000000000052B00300010000000000000001900700D80100009804000002900700900100007006000003900700C0010000000800000490070080000000C0090000059007005C000000400A000006900700440400009C0A00000790070090010000E00E00000890070090010000701000000990070000010000001200000A900700C8000000001300000B90070090010000C81300000C90070010000000581500005374616E6461726400000A0000000A000000C000007000700100B0000000007000700071390000715E001A000000000000001A000000C652740001000200DF30000000953CFF35E03A5E56EA00000000C700BE00B8BEFA69E656B8BEFA69E656000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002F20000000000000000838B624477F38653F8A080100000000000000000000000070E20000DF300000E430000000000000B9D300005A20000000004000FCFFFBFF00000000B4B70000077D5701000000000000B64A000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003F0101BFFF3C0012FE000000000000BB005C0121FE000000000000086901EA0E5640E70EEAD85E08691B04407040E700000000000000000000000000000000E7B9000000000000000000000E018EC200003900BB005E0100000000000000000000000000000000000000000000000000000000000012080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FA696B308D8A34405C0069008A000B050000BF5D0120FE70FE7081B681B6BF5D4F04A9050000000000000000C9B6C470FF00000000004000000000006900E900000E1B00001B0808B3400000B65C0000000000006C050000CC085E123B6D00000000000000000000000000000000000000280000005600002D4069CD000000400000000000000000000000000000000008B622B6DC70000000000000D000000031CC274A31CC335B16CCCB1300000000000000000000000000000000000000000000000000000000000000000000000000FE70000000000000000000000000000000000895013F95B600007D001B00000E0000005D1BD33088668A5B5B540000000000003D690069006900000000000000000000000000C611C611C611FFFFFFFFFFFFFFFFFFFFFFFF00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000F2BD550100011A0806D8ECCDD200D48A91D8B505F88ADF058C7D1008974089003DFEE0FD47404740AFFC38FF0000217D2C0000E0073800E00738BDBDBDBDBDBDBDBDBDBDBDBDF0BF7941AC741A5270D705E0D52F1BD8BB235A8A1B5EED75428808D842B7986ADB54CB0000020052BDCBAA87AADDBDBDBDBD0000410CB3563092E3EAF9701F6913701E88FA00EFFF0000000000004A0000005D7031201B01F60040014F00BDBDBDBDBDBD54E09D74C1AC1945EE607874F902804BD6ACFA450F05FC1255E2D14489FF44AC5B4B45E0374FA4608E13A6B7D213C62B7D804B0BAA3DE300C7B74813C7B74813EF603B1300000000C7B74813685C9501F902804B000154E09D744BB7EECF01001B1B5CEA000000000000000000AC45BA008283C40000000000000000000000000000000000000000000000000000000001000000000000000000000000000000004A4A05BD015B007A00EEE6F69601795200400800000000000000000000000000000000000000000000000000000000000000005B007A00EEE600000000000000000000000000001B0000000EF0071000000000000000001B00005100A90000000600000000000000000000000000004A016F7944529D017101710171010000F4012C012C012C010000000024000000FFFF240008006A00010100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003401010040000100407051000000000000000000000000000200000000001B00000000001B00080000000000000001000000010000000000A30000000000000000000000000000000000000000000000000000000000000000000000342BBACB758E7FC247918E33C47FC2BAC4EE38EEF67F75EED083D0EEF6CB65834A8338F6CBC4CF275265F6BACBC47FDCF67F20AFA0AF20AFA4BD587BDDE5BE1523AFCBAF48BDFAE54AE5ED18B2D461AFBA3134D0B9B1EF13DAB122185EAFC141D7B19AD07CEEA013A25791AFFE442813A7D08F451ED01044FBBD5ABD36152BD4E3D47F83693197BD50BD02BD58E5AC15EFD439D412950995E7517D516495D428A392A695F895B651D2952F959C0CF4924295415D8C4C15F0266A406A460C7695EA2442795779ADE291EFF76AC1953D5C2FEF90EF981A78F09C951995A695E2513F5119A0C8ECD99298953B95955164951695F80C700C5C517D51C795D095E79537BBC7813351F995ED958A95106CCA8106816C519C6C380C5A9227BBABECA4ECA951CE929592A8926E92F5812F285451DCA09292BF921F0C390CDAA0AE5181D36F958795226C6DA0C7BB03511B519551B595DFA0E092B7BB000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000380038003800380038000000000038007400380038003800000000003800130038003800380000000000380074003800380038000000000038003800380038003800000000000000000000000000000000000000010001007D001B000500BB004C0002005400F600E80097001C00B601E0016E01F3013C017E01B7088B018E08640810087208921B8908F040671B9B1B0E7D07400D40984080401340B51BA51BA50856087D08ED012601D708D70846085508761B787D8BE709EAA4EA615691E7210E4056AAB63F0C42BEB67D870000000000AC697D00565D44CDDB5B00009500CD95FFFD000000000000001FFFFFFFFFFFFF00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040004000400008000800950087001B007D004000010040006A004C0040000E007900EF008800CD00810040002400E000C50081005D000C007D0030006C004C0081006A005E00D800D800400040007D0004005C007D0040007D004000010051005C003400ECBE31D722813C92130CC59229D79D30A4384652DF5BE4B17E41BAB135534613000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002F056405258A7BB67F6900B6088A4FCD1823243385E3EC7F154FFA7F4FC4527500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000F374F374F374F374F374F374F374F374C9B6AEB615B624B67C7016701F70C470000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000340000000000000000000000000000000000000000000000345B60042C99A68AFC1E885EF6019D7D27D500E7750B4E40EA1A43015D533508CCC3BA01094223EA4A7C2F690EAFA35E346D2B011FFF4201095B0900FC7F5E5640B94170752FD35E34940E00C40940009AAC743804AC093880B7CA3848AC51381CAC1D741CF0C2C4D1F075232AACA3381CB75A13E3E040524BAC56139979EB4FF9E28EE310E21B33E6B79138C9E074CF7A96AFCF4596D996AC2B18DCFFAC7A52224CE4C420E0324BE0C481C2D165ACCBD7650496EB7F28333E624DE38FAC5796CBAC7E4B2A91E34570628D7F56F6DEDCEB2381C42196644EB0B7EB453FAC16541EACF75492E0854B7D60F6EE0EB733F631E2074BF5F0ECC485B75C5295ACF65254B73ACF0EAC454B18E0E0EE95EF6096B7F01E23340D5968A1A98E67D1D106BF70C43B73E99E9AC1B63B341E5AD0BF723EFC7382F6A4F78FD6817D0E178A1999ABA9238A87D8D8D8D8D80E0ED8D87DD85E5E0ED8D8008AE77D0E7D8A8A008A8A5E7D7D0000E78AE77D7D7DD8E7D80ED87DD87DD85E0E0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000345101000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007F008E1FC400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000A000301030001000000060000000F01020005000000CE1500001001020009000000D4150000120103000100000001003BD51A01050001000000DE1500001B01050001000000E61500002801030001000000020024003201020014000000EE1500000102040001000000021600000202040001000000791E000000000000534F4E5900004453432D57333230000048000000010000004800000001000000323031333A30333A30342031363A30353A323400FFD8FFDB0043000101010101010101010102010101010201010202030405030203030406050405040505050406070605060808070709070505090909080A0A0A06080A08090908FFDB00430101010102010204020204080505050808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808FFC000110800A0007803011200021101031101FFC4001F0000010501010101010100000000000000000102030405060708090A0BFFC400B5100002010303020403050504040000017D01020300041105122131410613516107227114328191A1082342B1C11552D1F02433627282090A161718191A25262728292A3435363738393A434445464748494A535455565758595A636465666768696A737475767778797A838485868788898A92939495969798999AA2A3A4A5A6A7A8A9AAB2B3B4B5B6B7B8B9BAC2C3C4C5C6C7C8C9CAD2D3D4D5D6D7D8D9DAE1E2E3E4E5E6E7E8E9EAF1F2F3F4F5F6F7F8F9FAFFC4001F0100030101010101010101010000000000000102030405060708090A0BFFC400B51100020102040403040705040400010277000102031104052131061241510761711322328108144291A1B1C109233352F0156272D10A162434E125F11718191A262728292A35363738393A434445464748494A535455565758595A636465666768696A737475767778797A82838485868788898A92939495969798999AA2A3A4A5A6A7A8A9AAB2B3B4B5B6B7B8B9BAC2C3C4C5C6C7C8C9CAD2D3D4D5D6D7D8D9DAE2E3E4E5E6E7E8E9EAF2F3F4F5F6F7F8F9FAFFDA000C03010002110311003F00FEBDE05DCA0E318E94FB705700AE6BA1791525665C442A437A0C548AC1F00630298343D54B727BD4CB9EFCE0E690896355E4E327BD282C71FAD00CB0986E40C120669C8C0039E9408B29B4F51C93D052C6064027B6681938DA00C8C7F5A4C138CB73EF406AC531862463B64D26EC70B9E99C9A0696BA818D4649C600C0A01738DDD295AE5357D88995483818C1C1A9B60EBED9C5161A8E8550AA0649C7D6A465CFA8E6A5B4B51F2918033F77A9A5DB8CE4FD6937D88512065527A631531518E0649EF551D45B945D0765E0F356D941E9C639E69DEC5452664CF8553DC2E4F1562700A9190703B512237662C2BF2818EDCD2C3DB3C678A517735BA6EC5B451DBF01426EDC3038EB5444958B6A303A76A7200BCE707000A04937B1328C6091DE95491C0EE7934059B245193D3D8D3971D7A2F6A04C9D41500E724F15F29FED1BFB587823E00695736D241278ABE204D642E345D1ADF70DFBBEEB4B26D65441EF927B2F3918D6C4430EAF37637A542559DA2AE7D5E188EBD7B57F329E34FDBB7F6C5F1C5EDE5FC1E33B0F87B692CCE74EB0D36DA174B51B70A77CA923B1070492793FC20703E7EB717E5F8776954FC19EE51E17C6D5D553FC8FE9B803C7707A57F2BBE05FDA4FF6BBD0A5B7787F68DD66EA5B7BA59E18EF9209A2F9430F995E3E9F374CEDE07CA4818E58F1CE5F376E6FC0E9A9C1F8F8ABF25FE67F54A063049CF7AFCB0F80FF00F0503BB962B1D17E3E69115944ECEB2F8A34B39B58F24906EE03F3C480705D0CA075214648F6F0F9A61F18AF4E699E3E232DAF83FE241A3F53F6F1803032723D73552CB50B1D52C6D352D32F22D474EBFB68EF2C6E2DD8347346E32AC8C0905587208C8AEE4EC709698647A6314DDC4E476CD1743136919C0EBD69AE72703A039A2E2B10BE739073DA9AD963F43CD352B13CABA919DC4E3A0ED5205EA71EDF5A69F71A29CCA36B039C91524E080DC60E3349BB99A8DD9CEC2DD09EA39350C270064E4918E6923692B9A6848E47208E2A28D8024E7191CD6C9892B17918E78EE734C47F51CE314ACFA89A2EA10073C1E95E3FF1CFE2DE8BF033E0EFC4DF8BFAFC66E349F86DE08D4BC63770A901AE3ECB11758D73FC5210147B9A529A82BB2946FA23E42FDBB3F6D61F01E7D07E11FC3DB8B6BBF8B9E31D2DFC4178F2FCC9E1FD351B69B99555D4EE76F9215230EDD7E556C7F2DFF0CFE3278BBE3C6A9F12BE3B7C41D48EABF103E28F8CA6D475C9413B218611B6DE089493B6284160832700F535F0DC41C52F097A747EF3EBB23E1AFAE7EF2B6DD8FB4B59F1DEABE25D4679EEF529F53BCD52E3ED7A9DC5CBEF9AEA56EAD2B9E493FF00EA1C0AF34F01595DEA77D2DCBA91140C1547E39AFC6738CFF138C95B9B73F59CAF25A3854AD148FA0B44F871AAEAB02CB158C9E595DE481DB1D6BE99F875733BCDA2D8DD5AC9069F043E6CF338FF00583185F43FFEBAE2C3E57F5C5ACDDCF5EA57587BB50563C4ECFE17DD456C5C42FB9005C1E0723F2AFAABC492CBFBE8F4285AF239D8CAE48E149FEBF8D2AF91C28AF7A4DB2619839FC3147C771CBA8F85EF3C991982C6DB48F4CFA575DE3BF0F6B575E74C5552E1EDCAA6E1F74F624023F98AE5C3E26BE5953F74DB44E270F4F1B1F7D2B9ECFF00043F6CBD63F66AD7FC2F6DE20D4E397F676F126BD0E91E2F4BA3C78466BA7C2DCC0C0645BC923012A1CAA310CA1559B6FC1DF11F4F96EBE1F78DBC3F7A9E6C3A96817761283FEDA103D7907A57EAD9071856B28D4D4FCDF3CE16A73BCA9AB33FAF9B4BA8AF6DA0BBB67F320B98C4D13AF460DC822BF253FE08ABFB445F7C73FD8BF42D07C47A84BA8F8C7E08F88EE7E15EAEF391E6496D12ACB64DD49C085C46338E6335FAB61EBC71305389F9854A6E949C59FAE3B0E791EF52F183939E735B1162131F4E31CD3B2DD5BA0E050047803209A6B71CF5EC6802B4BD0FBAE0D24B821BBE1714DB03908C9C0C9ED5046E077CF1421B7766A46D8C639C5545B84524B3F038ABD22234D599B3D39E4D65BEAD6F12E19B8EB9A1F981F9AFFF000596D52EB48FF826E7ED237169CDC5C699A16963961813EA76E87A63B1E8783E87A197FE0AD1A59F1F7FC13CBF69CD074F656BCB5F05DB78AA30C7AAE99770DD3F71FC319C7F2AE6C57BD0691A527CB34D9FCA4FEC8AB0695F09DF5AD53F7B6D0BC9741141CB670001F53543E086AB0683FB34787EFA7859E5BD3A85C3AAF53E5CAE3F98AFC833BA0AA54926F5E87EA79356F674A2D6C7AFCBFB5C8F015A49713FC35D4AF92DCBAB4B6EBFBA2473CB6300D7E7DC5E24FDAD3E25047F0B687676FA1DEEB22CEFEC75295E06B78303E75092420A90792E66624642283B47954F87694B5A8927E734BF03D779CD57FC3BB5E506FF001D8FDA4F801FF0520D03C71A88F0CBE9335A5C4968B041653942EC464614F7C75AFCFF00F08FECC5AC7C38F8ABE0FF0013C5AD24D3CFAD450E912DB24A8B71091FBD66495EE9B1B8E01F3FB711815CD9A509E570F6919FCB7DBE47AB96E21E3AA72CE3F33F61FE3BFED4975F067E1DD86AABA57997F2411828CFF3631F2EE0371FAF5FC6BC5FF68BF0C8F1D45E1BD035905B45B5488DE08C1DDCF0092A55B19E4ED65E2BE7B0F9ACB15354D3B7E1F8EA7AD89C03C3C5CDA3E54F07FED99FB43FC69D727B1B4D1F48F0ED9C2098DAE260A64427EF005558F1ED5E39F123F612F8C16D6DE195F863F14F58F0B4735E4B75E32842C66CAEE390821A2DA155CA8CF12F9BBBF89C57DAD3C0D0942F52514FCD49FF0099F2B5F135A32B42326BBAE5FD5A67DE1E0CD7FC5FAC2EA1E1FF001CC71DE9BA88C961751F7C8E51B03EB83935F317ECFDE0AF8F1F0DF55BFD2BC6A62D5FC349747FE11E913EF40A18FDE41855C8C7CA836FA05076AF909430B3BBB5BBA7FA1ACFDA548F2D9DD77FEBFCCFD44FF82119D53C15FB4B7ED8FF000D181FEC7B9D0F49F12AA852163782E2445E71FC4B271CF6E95EC7FF000494B5D0349FDABFF6C2B9BED421B2D775BF0878266F0BDA1601AE616498DDB283D76BAA67078CF4F4FD73856ABAB46F73F2CE22A1EC6B5AC7F4365B903B9A8D086F98366BEA4F9E242DC7A60714D6E78E8B8C5017B11939C83F4A5E707B8A00AAF9F9811DB14E931B4F72179A527644A5ADCF1F9351C0CE79EF5C6CF778030DC019CD28CAE5CB737EE75628092F5E7D7BA80208DC4F154DF711A9A86BAFF361FBD71724864724B719ACDCEE07C43FF0521F12F89AD7F64FF1F58E82C92FFC2597B61E09D6E1901FF48B1BF904572A1811B498C93BB0718E9CD7B37ED35E01FF008591F03FC7DE1B863696FC695FDB3A62A292ED2DA9120541FDE700A0EBCB57CEF13CB10B0539E1BE2567A6F65BFF005D8F7F86561E58C84713F0BBAF9B5A7E27F37FF04BE1E699A0FC2FF0A689AEC7E4C76BA20925B77C128F39323A9E00C86623A5761A2BCF15AE9D6174184D690C76774AE46E5651839C719AFC7F39C64EB3F68F7693F43F52CBF0F0C3C9D28EC9B47BD7807C1BE0F8251A8C1A3AEA1792BAAC4AE8BD8F19273C7E06ADF867C57A5F86616BDBA99635B788A5BF3D1F1C74FF003ED5F3780A939D6BC9FCCFAA8E169726C676B7E1FBED6BE30E9B2EB52456115A4708B769080A84F418E7A75E9D2BE3CF8B9E11F891F177E22E8BE24F04FC49D43C25158F9E668A2198EE252A42BC80B61940E36EDF420A919AF79E09668DBE6D7CFAFA59183C647036B474F23F467E24F862596FA34D2F52B6F1089AC57C89A09415755383C1C1041EC40FA57C00FF00B3378F6FB46D2B57D73E376B179AE68FAA24B0C9A7CF7105BE090D22B40B20593278C486403B01939E7ABC3CF0D1BBB7DF77F91AC73CA78A9EAEDF81FAD3A0D9CD6FE1BF0D5E5C40A23B9D36366D98CBFCBC73CE09EE08EB5E57F0EFC50748F0E47A13EA9E7C76B0C504B1BF243018DC339C13DFFF00D7446A2A11B27B0DD3559DDA2DF8B3EC169ABDCC31D9BC91C8DE606940C1CF271D6B13C4FA81BB0F73BFCD68E308849F53CD796B171753DD46188A318C4EEFF63DD3CE8BFB6DF85BC47653058B5AF87DA86913C07A6238DDC3E3380C0FCA0F5C311DEBB7FD89F468B51F8C77DE29B99584FE1DF044F656918C6D0F3CC06E3EFB723F1AFD3784E33AF8AA738E8A2A57F9E9FF0007E47E79C4D5A952C15484B594A51B7CAEFF00E01FBD1A76B4645077D79CE8F7CE5506790BCFBD7EAEA67E5E7B7C17EB228F9BB06FC2B8DB0BCF95467A1A6A5DC968EFC481B18F4AC7B6BA05464F38CD3524CA34643904E71C62A067DC0F39EF4A7B095CF94AE2E0B6539E4027158D34D804EECFF5ACD49972D190DC4A598AFE06A99725F27A9348964AA3853D2941C8CE33C500666BB2DFA693A836991A4DA9258CCD60929C23C814EC0C7D09EB535EB6108C64E2892BAD07176776AE7F335AFE8DE25F02F8B75BD23C7BA03785FC4F63762EB53D3DA5864F204E0489F3C2F2C6772907873D7070722BE8BFF8297585A782FE27F82FC6CB2C10DA78E3C392E87A9A2F0EB7366C3649276C488EA8BFF5CEBF26E24C83D86906DAEFD7F43F46C9B887DBDE53493ECB6FD4F8F3C67E22B98229E5D3F48B8D7EFADAC5A5D334FB7640666238CB3B2A01FEF3015E57A0EA3AADE5DB08DCB4D2B05590F65E7F4AFCE7D8BCBE5AAB9F734B10B30495EC4BA1FC4FFDA12C6F627D27C25E16F00E9F647ED324DE22BC7965047B5B24A807D198D7D27A2FC27F0A78C74EB5B0F10CCB71792913CA7CC28A9D7D0E4FD2BD3C2666F10F97D9AF5BCAFF008497E47A0B02A8EBCDF276B7E2BF538FD07E3BFC74D661BA6D26EFE16EABA6C4DBEE20B4BFBDDF3B630E433C3919F4DB81EFCE7DCB49FD953E1568F2C5AB5BD94321F30C7F69B5720823D57233DFB57A98AC44A11E6E5FFD2BFCD934A94257BA5F87E88F24B2F1FF00C438F57B7B9D7BE1DB59E957566AD2EA3A65D24D0C520E3183E54BB7DC4247A915DE788B44D53C377935A69132DC690CD919E918EDD6BE6AAE6BCD2B4A22AD83505CD0763B7B5F10FDA6CADA39241133DB09E519E99E9C73C62BE64FEDE6D2EF6790DCF9C666F26DC0FE3C9E00AAC1E0557973A3CBC666BECD72C8FDA4FD89FC0560C9A87C4E96F6EE3D40DD5CF866C2052A2DE484AC6E5FEEEE63BB207CFB78FBB9191F41FECEBE1F8BC2BF0A3C09A35BDCC776D068315CDF4B136E479E6FDE4DB5B0320392071D315FB6F0E6570C1D28D57F135DFA3E9DBA1F92E779CCB3093A707EE27E5AB57D6FBF53EC3D266CAA73F856669521DA0678EA7DEBEAA2FA1F3E7A7D95C15DA7762B2EC65E40247415A2633BEB59F38078E2B2AD24DA003CF3CD0075C928239EA466B3239F2A7D08A6E44A6EE7C9923927938C5509A6C7D6B284B43493BB251210C7BE467E959A262CC55412D8205539A466E68D9590608E86B28CACB90065C755EF5CD2C4C63BB32962611EA6678A35B8B47D3E6B8601A5588BA83D07D6B80F89915C45E1ED4AEE66208B6794FB6057838FCE24BDDA5A799E2E2B3677E581FCFD7FC1403C713FC44F1CDFF879EE4C8741B48AEE151CF3286E3F41F957C37E2DF88B278CFF00683F8E704D293F61F15C5A7DA1DDC109046CB8C76C357C4E7F56BE1670E6FB4AFF00D7DDF71FA8702E59CD869D4A8EEDBFCBFE1CF17D2BE2D788BE1EEAEB6D75BB50D322510CB1B70CA31C153EDE9FCBAD749F103C1C2FE13A9C10AC8CB91314183FD7A57051AD4714B96AAD4FA7950A98577A6EC8EC65FDAB2CEC88960F3A4CAA865620631DB1F5AF8DB5CF095F4AFB6CD72C405553DEAFFB270D2D56874FF6A5782D51F76787FF006D91672AB3CB347018BCA64273C13DB9FE95F10F873E1BEAF23EFD52DFECD18F9CEEEF5957C0D0868E5F8970CD2BC969F91F7778C3F6B3BDD76C1A2F0EDA3CF733A81B9F21141EE7A13FE79AF08F0BF83E296458638F7C719FBCBDF35C2F0386A7EF5AFEA153155EB69267ACF833C55ABEA737F6BEBD746796DD0CF9E8176F3C0E95CF78BEE13C23E03F12DE8C46F1E953980818C61093FE7358294E5250A6B764E1F0706F9A7F89FD2E7FC12DBE225FFC51FD963E17EADAA4E6E2F6FBC21617C4B1E433C609F5FA1AE53FE08CDA54BA6FEC9FF05AD2E502F9DF0E348BFCE39FDEC21B9FCEBF44C3E22581AD28C364DFE67E0399629E16BB70F99FADBA66470C36B29DA6BA0B9D3A289E49A29361CEF9011D47AFF8D7D653C7539A4EF63AE963E9CD5DBB1AB66C303B7A5456CAEB838C8EA08AEDA75A3557BAEE75C6B467F0BB9D65ACA40527AF7ACFB7948E4F191F9568A57354F43A88E6F9096EE0F4ACC49709C1E02F34E4D8A2B5B9F35FD9ECA3E652D7040EFC03598F2C613CC2F85E738AF8A9E6D5A7B33E1AB6795A5D44D42F12DE3629B61403F8715F3F7C6BF19EADE1FF000678AF50F0F80FADE9DE19BFBDD1D3030D347133479CF1F7B1D78AE3A98B9D4F89B6799531F52ABBB669EA5FB487ECEFE02F1AE9DF0F7E227C76F08F827E20F882485F49D1B56D5AD20BC9BCE3B62DB14922B7EF0F09C7CC7819AFE1B7E2BFC0EF88FE3EF891E25F185EE89AB78E759D6B529751D5B526B79E437523B659B76D3904F427B577D0509C3E2B1DB4F1B4A30E5BD99FDDA7C779E44F0C5CD9D..."

Tenho uma imagem que esta no banco de dados guardada em formato blob, tenho que usar o base64_encode no php antes de devolver a solicitação ajax e isso esta deixando o processo meio lento no lado do servidor. É possível fazer ou tem alguma função nativa no javascript ou jQuery que faça esse mesmo trabalho do base64_encode do php no lado do cliente no javascript ?

cenário atual: javascript

fun.ajaxFoto = custom.ajaxAsync(p,'getFoto','../view/rh/vFuncionarioDetalhes.php');
fun.ajaxFoto.done(function(json){
    $("#fun_foto").empty();
    var img = $('<img>').attr('src',"data:image/jpg;base64," + json.fun_foto);
});

vai para o arquivo vFuncionarioDetalhes.php

function getFoto(){
    global $colFuncionario; 
    
    $obj = (object) $_REQUEST['obj'];

    $json = $colFuncionario->getFoto($obj);

    // QUERIA MUDAR ESSA LINHA ABAIXO E ENTREGAR DIRETO O $json->fun_foto
    $json->fun_foto = base64_encode( $json->fun_foto );
    echo json_encode( $json );
}

Tenho uma imagem que esta no banco de dados guardada em formato blob, tenho que usar o base64_encode no php antes de devolver a solicitação ajax e isso esta deixando o processo meio lento no lado do servidor. É possível fazer ou tem alguma função nativa no javascript ou jQuery que faça esse mesmo trabalho do base64_encode do php no lado do cliente no javascript ?

cenário atual: javascript

fun.ajaxFoto = custom.ajaxAsync(p,'getFoto','../view/rh/vFuncionarioDetalhes.php');
fun.ajaxFoto.done(function(json){
    $("#fun_foto").empty();
    var img = $('<img>').attr('src',"data:image/jpg;base64," + json.fun_foto);
});

vai para o arquivo vFuncionarioDetalhes.php

function getFoto(){
    global $colFuncionario; 
    
    $obj = (object) $_REQUEST['obj'];

    $json = $colFuncionario->getFoto($obj);

    // QUERIA MUDAR ESSA LINHA ABAIXO E ENTREGAR DIRETO O $json->fun_foto
    $json->fun_foto = base64_encode( $json->fun_foto );
    echo json_encode( $json );
}

vou deixar a String que esta no formato blob para que seja possível fazer testes

$json->fun_foto="0xFFD8FFE1348345786966000049492A000800000011000E01020020000000DA0000000F01020005000000FA0000001001020009000000000100001A010500010000000A0100001B0105000100000012010000280103000100000002008A8732010200140000001A01000013020300010000000200838169870400010000004A01000001A40300010000000000898902A40300010000000000837F03A40300010000000000857F06A40300010000000000877E08A403000100000000007D7409A40300010000000000887F0AA403000100000000008179A5C407001C0000002E010000501500002020202020202020202020202020202020202020202020202020202020202000534F4E5900004453432D57333230000048000000010000004800000001000000323031333A30333A30342031363A30353A3234005072696E74494D00303330300000020002000100000001010100000016009A82050001000000580200009D820500010000006002000022880300010000000200FEFB27880300010000004006FFFB00900700040000003032323103900200140000006802000004900200140000007C02000001910700040000000102030002910500010000009002000004920A0001000000980200000592050001000000A002000007920300010000000500FFFF08920300010000000000FFFF09920300010000001000FFFE0A92050001000000A80200007C920700A0120000B002000000A00700040000003031303001A00300010000000100FFFF02A0040001000000B00A000003A0040001000000400E000000A307000100000003FEFEFE01A3070001000000015F605F000000000A000000E80300002D0000000A000000323031333A30333A30342031363A30353A323400323031333A30333A30342031363A30353A3234000300000001000000000000000A0000002E000000100000006004000064000000534F4E592044534320000000240000100400010000000000000001100400010000000000000002100400010000000000000000200700010000000000000020B00200090000008604000040B00300010000000000000041B00300010000003200000042B00300010000000400000043B00300010000000F00000044B00300010000000100000045B00300010000000000000046B00300010000000000000047B00300010000000000000048B00800010000000000000049B0030001000000000000004AB0030001000000000000004BB0030001000000000000004CB0050001000000900400004DB0030001000000000000004EB0030001000000000000004FB00300010000000100000050B00300010000000000000051B00300010000000000000052B00300010000000000000001900700D80100009804000002900700900100007006000003900700C0010000000800000490070080000000C0090000059007005C000000400A000006900700440400009C0A00000790070090010000E00E00000890070090010000701000000990070000010000001200000A900700C8000000001300000B90070090010000C81300000C90070010000000581500005374616E6461726400000A0000000A000000C000007000700100B0000000007000700071390000715E001A000000000000001A000000C652740001000200DF30000000953CFF35E03A5E56EA00000000C700BE00B8BEFA69E656B8BEFA69E656000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002F20000000000000000838B624477F38653F8A080100000000000000000000000070E20000DF300000E430000000000000B9D300005A20000000004000FCFFFBFF00000000B4B70000077D5701000000000000B64A000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003F0101BFFF3C0012FE000000000000BB005C0121FE000000000000086901EA0E5640E70EEAD85E08691B04407040E700000000000000000000000000000000E7B9000000000000000000000E018EC200003900BB005E0100000000000000000000000000000000000000000000000000000000000012080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FA696B308D8A34405C0069008A000B050000BF5D0120FE70FE7081B681B6BF5D4F04A9050000000000000000C9B6C470FF00000000004000000000006900E900000E1B00001B0808B3400000B65C0000000000006C050000CC085E123B6D00000000000000000000000000000000000000280000005600002D4069CD000000400000000000000000000000000000000008B622B6DC70000000000000D000000031CC274A31CC335B16CCCB1300000000000000000000000000000000000000000000000000000000000000000000000000FE70000000000000000000000000000000000895013F95B600007D001B00000E0000005D1BD33088668A5B5B540000000000003D690069006900000000000000000000000000C611C611C611FFFFFFFFFFFFFFFFFFFFFFFF00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000F2BD550100011A0806D8ECCDD200D48A91D8B505F88ADF058C7D1008974089003DFEE0FD47404740AFFC38FF0000217D2C0000E0073800E00738BDBDBDBDBDBDBDBDBDBDBDBDF0BF7941AC741A5270D705E0D52F1BD8BB235A8A1B5EED75428808D842B7986ADB54CB0000020052BDCBAA87AADDBDBDBDBD0000410CB3563092E3EAF9701F6913701E88FA00EFFF0000000000004A0000005D7031201B01F60040014F00BDBDBDBDBDBD54E09D74C1AC1945EE607874F902804BD6ACFA450F05FC1255E2D14489FF44AC5B4B45E0374FA4608E13A6B7D213C62B7D804B0BAA3DE300C7B74813C7B74813EF603B1300000000C7B74813685C9501F902804B000154E09D744BB7EECF01001B1B5CEA000000000000000000AC45BA008283C40000000000000000000000000000000000000000000000000000000001000000000000000000000000000000004A4A05BD015B007A00EEE6F69601795200400800000000000000000000000000000000000000000000000000000000000000005B007A00EEE600000000000000000000000000001B0000000EF0071000000000000000001B00005100A90000000600000000000000000000000000004A016F7944529D017101710171010000F4012C012C012C010000000024000000FFFF240008006A00010100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003401010040000100407051000000000000000000000000000200000000001B00000000001B00080000000000000001000000010000000000A30000000000000000000000000000000000000000000000000000000000000000000000342BBACB758E7FC247918E33C47FC2BAC4EE38EEF67F75EED083D0EEF6CB65834A8338F6CBC4CF275265F6BACBC47FDCF67F20AFA0AF20AFA4BD587BDDE5BE1523AFCBAF48BDFAE54AE5ED18B2D461AFBA3134D0B9B1EF13DAB122185EAFC141D7B19AD07CEEA013A25791AFFE442813A7D08F451ED01044FBBD5ABD36152BD4E3D47F83693197BD50BD02BD58E5AC15EFD439D412950995E7517D516495D428A392A695F895B651D2952F959C0CF4924295415D8C4C15F0266A406A460C7695EA2442795779ADE291EFF76AC1953D5C2FEF90EF981A78F09C951995A695E2513F5119A0C8ECD99298953B95955164951695F80C700C5C517D51C795D095E79537BBC7813351F995ED958A95106CCA8106816C519C6C380C5A9227BBABECA4ECA951CE929592A8926E92F5812F285451DCA09292BF921F0C390CDAA0AE5181D36F958795226C6DA0C7BB03511B519551B595DFA0E092B7BB000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000380038003800380038000000000038007400380038003800000000003800130038003800380000000000380074003800380038000000000038003800380038003800000000000000000000000000000000000000010001007D001B000500BB004C0002005400F600E80097001C00B601E0016E01F3013C017E01B7088B018E08640810087208921B8908F040671B9B1B0E7D07400D40984080401340B51BA51BA50856087D08ED012601D708D70846085508761B787D8BE709EAA4EA615691E7210E4056AAB63F0C42BEB67D870000000000AC697D00565D44CDDB5B00009500CD95FFFD000000000000001FFFFFFFFFFFFF00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040004000400008000800950087001B007D004000010040006A004C0040000E007900EF008800CD00810040002400E000C50081005D000C007D0030006C004C0081006A005E00D800D800400040007D0004005C007D0040007D004000010051005C003400ECBE31D722813C92130CC59229D79D30A4384652DF5BE4B17E41BAB135534613000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002F056405258A7BB67F6900B6088A4FCD1823243385E3EC7F154FFA7F4FC4527500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000F374F374F374F374F374F374F374F374C9B6AEB615B624B67C7016701F70C470000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000340000000000000000000000000000000000000000000000345B60042C99A68AFC1E885EF6019D7D27D500E7750B4E40EA1A43015D533508CCC3BA01094223EA4A7C2F690EAFA35E346D2B011FFF4201095B0900FC7F5E5640B94170752FD35E34940E00C40940009AAC743804AC093880B7CA3848AC51381CAC1D741CF0C2C4D1F075232AACA3381CB75A13E3E040524BAC56139979EB4FF9E28EE310E21B33E6B79138C9E074CF7A96AFCF4596D996AC2B18DCFFAC7A52224CE4C420E0324BE0C481C2D165ACCBD7650496EB7F28333E624DE38FAC5796CBAC7E4B2A91E34570628D7F56F6DEDCEB2381C42196644EB0B7EB453FAC16541EACF75492E0854B7D60F6EE0EB733F631E2074BF5F0ECC485B75C5295ACF65254B73ACF0EAC454B18E0E0EE95EF6096B7F01E23340D5968A1A98E67D1D106BF70C43B73E99E9AC1B63B341E5AD0BF723EFC7382F6A4F78FD6817D0E178A1999ABA9238A87D8D8D8D8D80E0ED8D87DD85E5E0ED8D8008AE77D0E7D8A8A008A8A5E7D7D0000E78AE77D7D7DD8E7D80ED87DD87DD85E0E0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000345101000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007F008E1FC400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000A000301030001000000060000000F01020005000000CE1500001001020009000000D4150000120103000100000001003BD51A01050001000000DE1500001B01050001000000E61500002801030001000000020024003201020014000000EE1500000102040001000000021600000202040001000000791E000000000000534F4E5900004453432D57333230000048000000010000004800000001000000323031333A30333A30342031363A30353A323400FFD8FFDB0043000101010101010101010102010101010201010202030405030203030406050405040505050406070605060808070709070505090909080A0A0A06080A08090908FFDB00430101010102010204020204080505050808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808FFC000110800A0007803011200021101031101FFC4001F0000010501010101010100000000000000000102030405060708090A0BFFC400B5100002010303020403050504040000017D01020300041105122131410613516107227114328191A1082342B1C11552D1F02433627282090A161718191A25262728292A3435363738393A434445464748494A535455565758595A636465666768696A737475767778797A838485868788898A92939495969798999AA2A3A4A5A6A7A8A9AAB2B3B4B5B6B7B8B9BAC2C3C4C5C6C7C8C9CAD2D3D4D5D6D7D8D9DAE1E2E3E4E5E6E7E8E9EAF1F2F3F4F5F6F7F8F9FAFFC4001F0100030101010101010101010000000000000102030405060708090A0BFFC400B51100020102040403040705040400010277000102031104052131061241510761711322328108144291A1B1C109233352F0156272D10A162434E125F11718191A262728292A35363738393A434445464748494A535455565758595A636465666768696A737475767778797A82838485868788898A92939495969798999AA2A3A4A5A6A7A8A9AAB2B3B4B5B6B7B8B9BAC2C3C4C5C6C7C8C9CAD2D3D4D5D6D7D8D9DAE2E3E4E5E6E7E8E9EAF2F3F4F5F6F7F8F9FAFFDA000C03010002110311003F00FEBDE05DCA0E318E94FB705700AE6BA1791525665C442A437A0C548AC1F00630298343D54B727BD4CB9EFCE0E690896355E4E327BD282C71FAD00CB0986E40C120669C8C0039E9408B29B4F51C93D052C6064027B6681938DA00C8C7F5A4C138CB73EF406AC531862463B64D26EC70B9E99C9A0696BA818D4649C600C0A01738DDD295AE5357D88995483818C1C1A9B60EBED9C5161A8E8550AA0649C7D6A465CFA8E6A5B4B51F2918033F77A9A5DB8CE4FD6937D88512065527A631531518E0649EF551D45B945D0765E0F356D941E9C639E69DEC5452664CF8553DC2E4F1562700A9190703B512237662C2BF2818EDCD2C3DB3C678A517735BA6EC5B451DBF01426EDC3038EB5444958B6A303A76A7200BCE707000A04937B1328C6091DE95491C0EE7934059B245193D3D8D3971D7A2F6A04C9D41500E724F15F29FED1BFB587823E00695736D241278ABE204D642E345D1ADF70DFBBEEB4B26D65441EF927B2F3918D6C4430EAF37637A542559DA2AE7D5E188EBD7B57F329E34FDBB7F6C5F1C5EDE5FC1E33B0F87B692CCE74EB0D36DA174B51B70A77CA923B1070492793FC20703E7EB717E5F8776954FC19EE51E17C6D5D553FC8FE9B803C7707A57F2BBE05FDA4FF6BBD0A5B7787F68DD66EA5B7BA59E18EF9209A2F9430F995E3E9F374CEDE07CA4818E58F1CE5F376E6FC0E9A9C1F8F8ABF25FE67F54A063049CF7AFCB0F80FF00F0503BB962B1D17E3E69115944ECEB2F8A34B39B58F24906EE03F3C480705D0CA075214648F6F0F9A61F18AF4E699E3E232DAF83FE241A3F53F6F1803032723D73552CB50B1D52C6D352D32F22D474EBFB68EF2C6E2DD8347346E32AC8C0905587208C8AEE4EC709698647A6314DDC4E476CD1743136919C0EBD69AE72703A039A2E2B10BE739073DA9AD963F43CD352B13CABA919DC4E3A0ED5205EA71EDF5A69F71A29CCA36B039C91524E080DC60E3349BB99A8DD9CEC2DD09EA39350C270064E4918E6923692B9A6848E47208E2A28D8024E7191CD6C9892B17918E78EE734C47F51CE314ACFA89A2EA10073C1E95E3FF1CFE2DE8BF033E0EFC4DF8BFAFC66E349F86DE08D4BC63770A901AE3ECB11758D73FC5210147B9A529A82BB2946FA23E42FDBB3F6D61F01E7D07E11FC3DB8B6BBF8B9E31D2DFC4178F2FCC9E1FD351B69B99555D4EE76F9215230EDD7E556C7F2DFF0CFE3278BBE3C6A9F12BE3B7C41D48EABF103E28F8CA6D475C9413B218611B6DE089493B6284160832700F535F0DC41C52F097A747EF3EBB23E1AFAE7EF2B6DD8FB4B59F1DEABE25D4679EEF529F53BCD52E3ED7A9DC5CBEF9AEA56EAD2B9E493FF00EA1C0AF34F01595DEA77D2DCBA91140C1547E39AFC6738CFF138C95B9B73F59CAF25A3854AD148FA0B44F871AAEAB02CB158C9E595DE481DB1D6BE99F875733BCDA2D8DD5AC9069F043E6CF338FF00583185F43FFEBAE2C3E57F5C5ACDDCF5EA57587BB50563C4ECFE17DD456C5C42FB9005C1E0723F2AFAABC492CBFBE8F4285AF239D8CAE48E149FEBF8D2AF91C28AF7A4DB2619839FC3147C771CBA8F85EF3C991982C6DB48F4CFA575DE3BF0F6B575E74C5552E1EDCAA6E1F74F624023F98AE5C3E26BE5953F74DB44E270F4F1B1F7D2B9ECFF00043F6CBD63F66AD7FC2F6DE20D4E397F676F126BD0E91E2F4BA3C78466BA7C2DCC0C0645BC923012A1CAA310CA1559B6FC1DF11F4F96EBE1F78DBC3F7A9E6C3A96817761283FEDA103D7907A57EAD9071856B28D4D4FCDF3CE16A73BCA9AB33FAF9B4BA8AF6DA0BBB67F320B98C4D13AF460DC822BF253FE08ABFB445F7C73FD8BF42D07C47A84BA8F8C7E08F88EE7E15EAEF391E6496D12ACB64DD49C085C46338E6335FAB61EBC71305389F9854A6E949C59FAE3B0E791EF52F183939E735B1162131F4E31CD3B2DD5BA0E050047803209A6B71CF5EC6802B4BD0FBAE0D24B821BBE1714DB03908C9C0C9ED5046E077CF1421B7766A46D8C639C5545B84524B3F038ABD22234D599B3D39E4D65BEAD6F12E19B8EB9A1F981F9AFFF000596D52EB48FF826E7ED237169CDC5C699A16963961813EA76E87A63B1E8783E87A197FE0AD1A59F1F7FC13CBF69CD074F656BCB5F05DB78AA30C7AAE99770DD3F71FC319C7F2AE6C57BD0691A527CB34D9FCA4FEC8AB0695F09DF5AD53F7B6D0BC9741141CB670001F53543E086AB0683FB34787EFA7859E5BD3A85C3AAF53E5CAE3F98AFC833BA0AA54926F5E87EA79356F674A2D6C7AFCBFB5C8F015A49713FC35D4AF92DCBAB4B6EBFBA2473CB6300D7E7DC5E24FDAD3E25047F0B687676FA1DEEB22CEFEC75295E06B78303E75092420A90792E66624642283B47954F87694B5A8927E734BF03D779CD57FC3BB5E506FF001D8FDA4F801FF0520D03C71A88F0CBE9335A5C4968B041653942EC464614F7C75AFCFF00F08FECC5AC7C38F8ABE0FF0013C5AD24D3CFAD450E912DB24A8B71091FBD66495EE9B1B8E01F3FB711815CD9A509E570F6919FCB7DBE47AB96E21E3AA72CE3F33F61FE3BFED4975F067E1DD86AABA57997F2411828CFF3631F2EE0371FAF5FC6BC5FF68BF0C8F1D45E1BD035905B45B5488DE08C1DDCF0092A55B19E4ED65E2BE7B0F9ACB15354D3B7E1F8EA7AD89C03C3C5CDA3E54F07FED99FB43FC69D727B1B4D1F48F0ED9C2098DAE260A64427EF005558F1ED5E39F123F612F8C16D6DE195F863F14F58F0B4735E4B75E32842C66CAEE390821A2DA155CA8CF12F9BBBF89C57DAD3C0D0942F52514FCD49FF0099F2B5F135A32B42326BBAE5FD5A67DE1E0CD7FC5FAC2EA1E1FF001CC71DE9BA88C961751F7C8E51B03EB83935F317ECFDE0AF8F1F0DF55BFD2BC6A62D5FC349747FE11E913EF40A18FDE41855C8C7CA836FA05076AF909430B3BBB5BBA7FA1ACFDA548F2D9DD77FEBFCCFD44FF82119D53C15FB4B7ED8FF000D181FEC7B9D0F49F12AA852163782E2445E71FC4B271CF6E95EC7FF000494B5D0349FDABFF6C2B9BED421B2D775BF0878266F0BDA1601AE616498DDB283D76BAA67078CF4F4FD73856ABAB46F73F2CE22A1EC6B5AC7F4365B903B9A8D086F98366BEA4F9E242DC7A60714D6E78E8B8C5017B11939C83F4A5E707B8A00AAF9F9811DB14E931B4F72179A527644A5ADCF1F9351C0CE79EF5C6CF778030DC019CD28CAE5CB737EE75628092F5E7D7BA80208DC4F154DF711A9A86BAFF361FBD71724864724B719ACDCEE07C43FF0521F12F89AD7F64FF1F58E82C92FFC2597B61E09D6E1901FF48B1BF904572A1811B498C93BB0718E9CD7B37ED35E01FF008591F03FC7DE1B863696FC695FDB3A62A292ED2DA9120541FDE700A0EBCB57CEF13CB10B0539E1BE2567A6F65BFF005D8F7F86561E58C84713F0BBAF9B5A7E27F37FF04BE1E699A0FC2FF0A689AEC7E4C76BA20925B77C128F39323A9E00C86623A5761A2BCF15AE9D6174184D690C76774AE46E5651839C719AFC7F39C64EB3F68F7693F43F52CBF0F0C3C9D28EC9B47BD7807C1BE0F8251A8C1A3AEA1792BAAC4AE8BD8F19273C7E06ADF867C57A5F86616BDBA99635B788A5BF3D1F1C74FF003ED5F3780A939D6BC9FCCFAA8E169726C676B7E1FBED6BE30E9B2EB52456115A4708B769080A84F418E7A75E9D2BE3CF8B9E11F891F177E22E8BE24F04FC49D43C25158F9E668A2198EE252A42BC80B61940E36EDF420A919AF79E09668DBE6D7CFAFA59183C647036B474F23F467E24F862596FA34D2F52B6F1089AC57C89A09415755383C1C1041EC40FA57C00FF00B3378F6FB46D2B57D73E376B179AE68FAA24B0C9A7CF7105BE090D22B40B20593278C486403B01939E7ABC3CF0D1BBB7DF77F91AC73CA78A9EAEDF81FAD3A0D9CD6FE1BF0D5E5C40A23B9D36366D98CBFCBC73CE09EE08EB5E57F0EFC50748F0E47A13EA9E7C76B0C504B1BF243018DC339C13DFFF00D7446A2A11B27B0DD3559DDA2DF8B3EC169ABDCC31D9BC91C8DE606940C1CF271D6B13C4FA81BB0F73BFCD68E308849F53CD796B171753DD46188A318C4EEFF63DD3CE8BFB6DF85BC47653058B5AF87DA86913C07A6238DDC3E3380C0FCA0F5C311DEBB7FD89F468B51F8C77DE29B99584FE1DF044F656918C6D0F3CC06E3EFB723F1AFD3784E33AF8AA738E8A2A57F9E9FF0007E47E79C4D5A952C15484B594A51B7CAEFF00E01FBD1A76B4645077D79CE8F7CE5506790BCFBD7EAEA67E5E7B7C17EB228F9BB06FC2B8DB0BCF95467A1A6A5DC968EFC481B18F4AC7B6BA05464F38CD3524CA34643904E71C62A067DC0F39EF4A7B095CF94AE2E0B6539E4027158D34D804EECFF5ACD49972D190DC4A598AFE06A99725F27A9348964AA3853D2941C8CE33C500666BB2DFA693A836991A4DA9258CCD60929C23C814EC0C7D09EB535EB6108C64E2892BAD07176776AE7F335AFE8DE25F02F8B75BD23C7BA03785FC4F63762EB53D3DA5864F204E0489F3C2F2C6772907873D7070722BE8BFF8297585A782FE27F82FC6CB2C10DA78E3C392E87A9A2F0EB7366C3649276C488EA8BFF5CEBF26E24C83D86906DAEFD7F43F46C9B887DBDE53493ECB6FD4F8F3C67E22B98229E5D3F48B8D7EFADAC5A5D334FB7640666238CB3B2A01FEF3015E57A0EA3AADE5DB08DCB4D2B05590F65E7F4AFCE7D8BCBE5AAB9F734B10B30495EC4BA1FC4FFDA12C6F627D27C25E16F00E9F647ED324DE22BC7965047B5B24A807D198D7D27A2FC27F0A78C74EB5B0F10CCB71792913CA7CC28A9D7D0E4FD2BD3C2666F10F97D9AF5BCAFF008497E47A0B02A8EBCDF276B7E2BF538FD07E3BFC74D661BA6D26EFE16EABA6C4DBEE20B4BFBDDF3B630E433C3919F4DB81EFCE7DCB49FD953E1568F2C5AB5BD94321F30C7F69B5720823D57233DFB57A98AC44A11E6E5FFD2BFCD934A94257BA5F87E88F24B2F1FF00C438F57B7B9D7BE1DB59E957566AD2EA3A65D24D0C520E3183E54BB7DC4247A915DE788B44D53C377935A69132DC690CD919E918EDD6BE6AAE6BCD2B4A22AD83505CD0763B7B5F10FDA6CADA39241133DB09E519E99E9C73C62BE64FEDE6D2EF6790DCF9C666F26DC0FE3C9E00AAC1E0557973A3CBC666BECD72C8FDA4FD89FC0560C9A87C4E96F6EE3D40DD5CF866C2052A2DE484AC6E5FEEEE63BB207CFB78FBB9191F41FECEBE1F8BC2BF0A3C09A35BDCC776D068315CDF4B136E479E6FDE4DB5B0320392071D315FB6F0E6570C1D28D57F135DFA3E9DBA1F92E779CCB3093A707EE27E5AB57D6FBF53EC3D266CAA73F856669521DA0678EA7DEBEAA2FA1F3E7A7D95C15DA7762B2EC65E40247415A2633BEB59F38078E2B2AD24DA003CF3CD0075C928239EA466B3239F2A7D08A6E44A6EE7C9923927938C5509A6C7D6B284B43493BB251210C7BE467E959A262CC55412D8205539A466E68D9590608E86B28CACB90065C755EF5CD2C4C63BB32962611EA6678A35B8B47D3E6B8601A5588BA83D07D6B80F89915C45E1ED4AEE66208B6794FB6057838FCE24BDDA5A799E2E2B3677E581FCFD7FC1403C713FC44F1CDFF879EE4C8741B48AEE151CF3286E3F41F957C37E2DF88B278CFF00683F8E704D293F61F15C5A7DA1DDC109046CB8C76C357C4E7F56BE1670E6FB4AFF00D7DDF71FA8702E59CD869D4A8EEDBFCBFE1CF17D2BE2D788BE1EEAEB6D75BB50D322510CB1B70CA31C153EDE9FCBAD749F103C1C2FE13A9C10AC8CB91314183FD7A57051AD4714B96AAD4FA7950A98577A6EC8EC65FDAB2CEC88960F3A4CAA865620631DB1F5AF8DB5CF095F4AFB6CD72C405553DEAFFB270D2D56874FF6A5782D51F76787FF006D91672AB3CB347018BCA64273C13DB9FE95F10F873E1BEAF23EFD52DFECD18F9CEEEF5957C0D0868E5F8970CD2BC969F91F7778C3F6B3BDD76C1A2F0EDA3CF733A81B9F21141EE7A13FE79AF08F0BF83E296458638F7C719FBCBDF35C2F0386A7EF5AFEA153155EB69267ACF833C55ABEA737F6BEBD746796DD0CF9E8176F3C0E95CF78BEE13C23E03F12DE8C46F1E953980818C61093FE7358294E5250A6B764E1F0706F9A7F89FD2E7FC12DBE225FFC51FD963E17EADAA4E6E2F6FBC21617C4B1E433C609F5FA1AE53FE08CDA54BA6FEC9FF05AD2E502F9DF0E348BFCE39FDEC21B9FCEBF44C3E22581AD28C364DFE67E0399629E16BB70F99FADBA66470C36B29DA6BA0B9D3A289E49A29361CEF9011D47AFF8D7D653C7539A4EF63AE963E9CD5DBB1AB66C303B7A5456CAEB838C8EA08AEDA75A3557BAEE75C6B467F0BB9D65ACA40527AF7ACFB7948E4F191F9568A57354F43A88E6F9096EE0F4ACC49709C1E02F34E4D8A2B5B9F35FD9ECA3E652D7040EFC03598F2C613CC2F85E738AF8A9E6D5A7B33E1AB6795A5D44D42F12DE3629B61403F8715F3F7C6BF19EADE1FF000678AF50F0F80FADE9DE19BFBDD1D3030D347133479CF1F7B1D78AE3A98B9D4F89B6799531F52ABBB669EA5FB487ECEFE02F1AE9DF0F7E227C76F08F827E20F882485F49D1B56D5AD20BC9BCE3B62DB14922B7EF0F09C7CC7819AFE1B7E2BFC0EF88FE3EF891E25F185EE89AB78E759D6B529751D5B526B79E437523B659B76D3904F427B577D0509C3E2B1DB4F1B4A30E5BD99FDDA7C779E44F0C5CD9D..."
Fonte Link
SneepS NinjA
  • 7,8mil
  • 13
  • 46
  • 92

base64_encode em javascript

Tenho uma imagem que esta no banco de dados guardada em formato blob, tenho que usar o base64_encode no php antes de devolver a solicitação ajax e isso esta deixando o processo meio lento no lado do servidor. É possível fazer ou tem alguma função nativa no javascript ou jQuery que faça esse mesmo trabalho do base64_encode do php no lado do cliente no javascript ?

cenário atual: javascript

fun.ajaxFoto = custom.ajaxAsync(p,'getFoto','../view/rh/vFuncionarioDetalhes.php');
fun.ajaxFoto.done(function(json){
    $("#fun_foto").empty();
    var img = $('<img>').attr('src',"data:image/jpg;base64," + json.fun_foto);
});

vai para o arquivo vFuncionarioDetalhes.php

function getFoto(){
    global $colFuncionario; 
    
    $obj = (object) $_REQUEST['obj'];

    $json = $colFuncionario->getFoto($obj);

    // QUERIA MUDAR ESSA LINHA ABAIXO E ENTREGAR DIRETO O $json->fun_foto
    $json->fun_foto = base64_encode( $json->fun_foto );
    echo json_encode( $json );
}