help on image header

This is a discussion on "help on image header" within the PHP Forum section. This forum, and the thread "help on image header are both part of the Program Your Website category.



Go Back   Webforumz.com > Main Forums > Program Your Website > PHP Forum

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Jul 2nd, 2007, 06:08
New Member
Join Date: Mar 2007
Location: phils
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
help on image header

i have a web service and accessing it is done thru query string. how
to access a certain header field using php? the sample program i saw
was done in java and it goes like this:


String shortcutcode = connection.getHeaderField("ShortCut");
ByteArrayInputStream bis = new ByteArrayInputStream (imageBytes,
0,imageBytes.length);
BufferedImage bim = ImageIO.read(bis);
bim = bim.getSubimage(0,0,bim.getWidth(),bim.getHeight()-12);
how to do the same in php?
Reply With Quote

Reply

Tags
image, imagepng, php

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Problems with CSS 'Header Image' - How to make fluid?? slimboyfatz32 Web Page Design 5 Jan 28th, 2008 09:09
php header ( need help) csun PHP Forum 2 Mar 18th, 2007 23:46
Padding on #header background image.. IE6/Firefox. rooraaahcrumbs Web Page Design 1 Apr 26th, 2006 20:49


All times are GMT. The time now is 22:36.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43