Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3978392
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T05:02:30+00:00 2026-05-20T05:02:30+00:00

<?php header(‘content-type:image/jpeg’); $image = imagecreatefromjpeg(‘suliduli.jpg’); //alpha channel parameter omitted below as it is optional.

  • 0
<?php
header('content-type:image/jpeg');
$image = imagecreatefromjpeg('suliduli.jpg');
//alpha channel parameter omitted below as it is optional.
imagefilter($image, IMG_FILTER_COLORIZE, 50, 0, 0);
imagejpeg($image, '', 90);
imagedestroy($image);
?>

I know that I have gd installed; I checked using php info! And the file suliduli.jpg is there as well, could there be any problem I’m not seeing

EDIT: this is what i get when I remove the header:

ÿØÿà�JFIF������ÿþ�;CREATOR: gd-jpeg v1.0 (using IJG JPEG v62), quality = 90 ÿÛ�C� ÿÛ�C ÿÀ�)³”�ÿÄ����������� ÿÄ�µ���}�!1AQa”q2‘¡#B±ÁRÑð$3br‚ %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyzƒ„…†‡ˆ‰Š’“”•–—˜™š¢£¤¥¦§¨©ª²³´µ¶·¸¹ºÂÃÄÅÆÇÈÉÊÒÓÔÕÖרÙÚáâãäåæçèéêñòóôõö÷øùúÿÄ�������� ÿÄ�µ��w�!1AQaq”2B‘¡±Á #3RðbrÑ $4á%ñ&'()56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz‚ƒ„…†‡ˆ‰Š’“”•–—˜™š¢£¤¥¦§¨©ª²³´µ¶·¸¹ºÂÃÄÅÆÇÈÉÊÒÓÔÕÖרÙÚâãäåæçèéêòóôõö÷øùúÿÚ���?�ûŽŽ}èïKíÖ¿ ?P¤Á§šBÜÔÜBÒsNÇ ü´Ä5ºSw§nÇJF<硨°ÐšSžÝ)¬{àÑŸCHa‘Ò“¾i„SF{Ò´œŠ@CPF9ÍíÚ€Ô)�Í_B‰Jj5¥4œš›ˆxmÝ;R޹Í3ÕH,>“?5ëGðÓ$pÏ4ÑëNÜ1A^8 QG8¥Ýòâ™C·u¤¤ù}éÞÔ‰¶”Œ÷ ô¢ªÀ �‡ŽôíÜS ÍHÆŸJŒŽiì:Spsš à½Í#zŠPÛš›Ÿj¾arG?¥4cÞœzP/Nþ´Š#lƒùÓr}*B8¤�æŽRî!ëIÀ?ÖŠÉŒkb›Ñiã¦M4óÓ¥HÑ_½HÓj®kr.¦íNãîÒãw#PÇLSq÷³R²ÿ�‘L ã’*‹LnE›‡­¬3tµ47 ôÅ"õ¨æg˜?#E Ö™ž:RîÀïZ °½ñšU¤ÛÓÑ•ëEÄ8u94ŒÍžqŠCךü .R@3ןjCÖ”œãŽÜRÏJ’ƒwnô¹‡å ¢€‚E#t£ï ‚…£¥&01ÚŒŒõ ~4”ŒÚ7S¸¬-<éL¥ÝéUqX r7ËÍG¸u"Ô\v$'¡¥�ñÍ0‘ž)Á¹5} °¥¨94Æ?7µ�’j‡bAîiàû“Q®3ɧ·éŠObž0i8¦n уsØçÿ�ÕJ2N0*M¤»åÅ*·Ô!‡@sô§ŽsŸÐS‡c‚(<âžÔOJÓ˜Bçð4ßó¤#<šCzŠÏ¨ëHI8©ç=y ¢‚„áýè?74m,iØcyÏ¥}zÓÿ�ÏÍHWqÉô­q¼çéHÃÒ—qaÍ;øhÑÿ�ë¦ãœÓÀß¼1XYܤÄë’zÓ)ì#ô¤#i©{”®OjaÃtëÞžqM$R#8ëɤ?8|ÄÓ[å4!ËÓ¥FÝsÛÞ¤=*21MˆËôT»Eùй©¸zQIŽ:Ò“Æk.Vyã‡JPz{R”ÓòŠØ@ô¤­)8¤aP0Î{Òšo/JaäsLãôn¥ÝƒKAˆNÕÅ Ò“†OZLñÇj’‡f°Í&H"ƒÏOZÃÃqŠhù†iÛp2 4‘Ú´¹"î´cÞ˜|Ó‚ädVeº—­4ü¼S‡J'C€8§Ò“Fixn:SóÍqÜâ¬CØýi¤qÍ1匳cšñŸŽ“Á¦§K—Ò©v¸¿QÒœ æìéQ•YYŸ­x·JÐPý¶ò(=ràšó~Ò>ÒžH­¦Sä�Cýkâ?|TÔukÉd“Íu'z²¾Öæ¹—ñÌ—é>ùW…cóÀ½k¾v×¾zQ£J«Ÿ[7íKiª¼æUu.ßèÌ•Æþµ®Ÿµå¥ÁE{XWæùŽGÒ¾8Õuˆï-•>×þ?z‹›£§Ù$Aßv7 é§BähÙªRwåGÜZ/íQ£»¤7ˆè‹iéÍwv<9}qÁyµ$ÇÎÇ…úúWæt¾(¸i’BwZ3[~ñ•ü%"·œ§¤­Üÿ�Z™Ô¾cÉBOÞGêF›¬A¨pŒ»ˆ òAÐÖš|Ã\~5ðW…þ?jú/ÙcŠáÍÌÊÖòÊëíó1¯¥¾ütÄ–öÚ±¬&ã;gN$î¬;gŠàåq÷dsÖÂ7ïRÕ¿ÔgµÔu’0èC©�‡NrÒ”‚0G=Æ?dïsËsARÇŠyRJP ŠAr,víCezSÂæ“Ú´C¸Ý»‡&½ÅÝØÐ~”Çq£­!4íÔÚ\ÓJ;Ú’—0ÈÈç˜9¥<’h&²³,—qãš Rdgü)Œ:â¡îUÆõè6Ò0ÁéOçŸZ@}E¹Úoò4âr3Þ›ŒPZ·½¹>”P3@dŽ´ƒŠ­&ìžzPr�ûÜRíÇJnêóÞ‹ŽÃºþTÚÔ”P ¢ŠFéPPóHFy¥¤ÅÓŠLí QœRr �|ÝiTì C’2hÛÅ�IüèáO4„tÁ4æZ�M¹9­xõǰ¥0àRtõ¥i_­í4ƒ¥L³ŸŸûÌÕÌêV2i¶¾dó”G;‘1÷Gùjö¨S¥dšÔõ¦¹$kBa+spé±É ØZ~¥u-ÄË<)]ŸwÞ²t¡yVò$«ÛwͺºßÙ»CæÚ‘7óµ>eùh«QѬâ¶:b¹éèŽ2ÊIloÆpì…¾Fû¼Õ«½JÞâH‚|œòÊ±ŠšïKdF"ï<ÃqVÿ�{mdjK>šê#ÑíÚ¯»œü۫ЧÖýáçJ^ÍYj\»†&¶HÑgÏ&züÕcNÓ⸴YAû¯”¬Gø¿½\å¶ ÷S0”lf;v(þèì4™ôûǶŠM›†óÏðƒEUÉf\d§Ð‚ §±ºKÔï 3î?6âq·Ú»Mâæ£gÁdFmΪ~eöÝþÕqwܵ¤Á”íõš‰­d³D–ÒA?šœªýÜÔÆ•9|EFNÛ^ý¢ç¸°ŠÞâæ &|³”å¤81Šö_xöãZ³Û©ÚýŠëÍ*°ŽØÍ~søS^ÊÒ¦Qa}®¹û·­}áŽ&í,-oäHV1.yr1ßx˜ŠnæH×ÙR®škSì5ÆÐ(&²ü9©_F¶¸pÃkS–¬5nèùéÅÂN/ ÇùM)]ËÅ>šW®)“q§§qƒF:Œ^3øU&8éF O)W#£Þ”ŒR¼Ô†-šGÓÀè)™Ý•­WÙ)ÀíÒŽjLÌóX4ÊÜm&O4âvÒNå ÚqøÓvœÔO½48Á¤4ÆQE[?7zSÓ¥7îô¥,V À7})xÆiÌ( C»Òn ° ­ çœf€Aäb™ßëKNÁa§µ&ï—ã×4bÄ-ÇAHXž)ÀdÒÉ>Ôr†“éBZ\⎧‘Òµ†—øiH=hŽ{Ñd;‹Ž:õ¤Æ;gëKJÓÒ>lŠCŸJyëô¤<ÕÅþJîNôÐ8ü)§¡=*[åŽg⌠ð?…5

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T05:02:31+00:00Added an answer on May 20, 2026 at 5:02 am

    Is your jpeg file a CMYK-jpeg? If so, GD will not work. They need to be RGB-based.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Imagine the following: <img src=/image.php?image=5.jpg /> Now, in image.php : header('content-type: image/jpeg'); $image =
<?php header(Content-type: image/png); $im = @imagecreate(110, 20) or die(Cannot Initialize new GD image stream);
In the images folder i have a notfound.php file with <?php header('Content-type: image/png'); $im
My code so far (it creates an overlay to a youtube thumbnail): <?php header(Content-type:image/png);
<?php header ('Content-Type: image/png'); $im = @imagecreatetruecolor(120, 20) or die('Cannot Initialize new GD image
I have created this report using BIRT and phpjavabridge <?php header(Content-type: application/pdf); header(Content-Disposition: inline;
I have this PHP file: <?php header('Content-type: text/xml; charset=UTF-8'); ?><?xml version=1.0 encoding=UTF-8 ?> <Module>
<?php header('content-type: application/json'); $json = json_encode($data); echo isset($_GET['callback']) ? {$_GET['callback']}($json) : $json; Or should
i have a file speakWord.php: <?php header(Content-Type: audio/mpeg); $voice = file_get_contents('http://translate.google.com/translate_tts?tl=' . urlencode($_POST['language']) .
I have this simple code in php: <?php header(Content-type: application/vnd.ms-word); header(Content-Disposition: attachment;Filename=kid_tag.doc); echo '<table

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.