× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: Re: extracting size of gifs
  • From: Rob Dixon <rob.dixon@xxxxxxxxxxx>
  • Date: Sun, 27 Aug 2000 15:39:48 +0100
  • Organization: Erros plc

Joe

Many thanks for your help.

> I haven't tried this, but see no reason why the following Java snippet
> wouldn't work:
>
>      ImageIcon image = new ImageIcon("image.gif");
>      int height = image.getIconHeight();
>      int width  = image.getIconWidth();
>
> putting this code in a routine that uses the File class to step through
> a subdirectory would allow you extract all of your images

I hadn't thought of Java.  I have no knowledge of it and for my other needs am
not in a hurry to learn, but of course if needs must ...

However, the system on which the Web site is running is a 150, 64mb running V3R7
with that release's HTTP server - not WebSphere..  This is more than adequate 
for
the web site at present although some more memory would be neccessary if the
traffic built up.  I thought that Java required enormous quantities of memory.
Anyway I presume that V3R7 is not up to the job from a Java point of view.

> . I'll try this
> out later today to see if it will really do it.

Irrespective of the possible V3R7 problem, it would be very nice to know if this
would work and I much appreciate your being willing to try it.  Can you think of
a possible RPG solution?  I tried looking at a JPG file through Workpad, but
couldn't see the values I was looking for.  I imagine that they are encrypted in
some way.

Best wishes

Rob
________________________________________________________

Erros plc

44 (0) 1844 239 339

http://www.erros.co.uk - The AS/400 Neural Database for the Internet

_________________________________________________________


+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.