Re: [Gimp-user] GIFs GIMP PHOTOSHOP

2003-04-12 Thread Philippe Rousselot

concerning the licence for GIF, I thought it was the transaction of the GIF 
images that was subordinate to it, not the display


Le Samedi 12 Avril 2003 19:37, Daniel Carrera a écrit :

 I'm not familiar with IE.  Does it noe understand PNG transparency at all?

yes it does if you put hte right code, but then it is not visible by NT or any 
other browser. but here is a turn around

1. get sniffer from www.appcreator.com  
2. add in head something like
?php
$snif = new sniffer();

if ($snif-browser == 'Netscape'   $snif-major = '4')
{
echolink title=\netscape_4_css\ rel=\stylesheet\ 
href=\http://www..com/CSS/at_NT4_css.css\; type=\text/css\ 
media=\screen\;
}
if ($snif-browser == 'Netscape'   $snif-major  '4')
{
echolink title=\netscape_6_css\ rel=\stylesheet\ 
href=\http://www..com/CSS/at_NT6_css.css\; type=\text/css\ 
media=\screen\;
}
else
{
 echolink title=\IE_css\ rel=\stylesheet\ 
href=\http://www.xxx.com/CSS/at_IE_css.css\; type=\text/css\ 
media=\screen\;
}
?

this will allow you to select tha appropriate css file according to the 
browser

3. dans body use this to see alpha chanel with IE

!--[if IE 6]
DIV ID=headwin
STYLE=text-align:center;position:absolute;left:140px;
height:147px;width:520px;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='./images/.png',
 
sizingMethod='scale'); 
/DIV

![endif]--

or this for gif or if you do not care about alpha chanel
!--[if IE 6]
DIV ID=headwin
STYLE=text-align:center;position:absolute;left:140px  img 
src=./images/x.png alt=logo width=520 height=147 align=middle 
border=0

/DIV

![endif]--


and this for NT
div id=headnt style=text-align:center
img src=./images/.png alt=logo width=520 height=147 align=middle 
border=0

in css for IE add
#headnt {
visibility:hidden;
}
#headwin {
whatever you use
}


in css for NT add
#headnt {
  whatever you use
}
#headwin {
visibility:hidden;
}

and do this for any type of browser if you want to do it properly

note however that most browser, I mean by that the old one that represent the 
majority of the one still in use, do not support css very well if at all. you 
will have to experiment a lot.

I did not invent anything here, there is a lot of articles on the net related 
to these techniques, that I am sure are more precise.

cheers

-- 
Philippe Rousselot,

Pour des raisons de sécurité informatique toutes pièces jointes au format 
Word, Excell et PowerPoint sont immédiatement détruites.
je vous prierais donc de les remplacer par des fichiers au format rtf,  csv ou 
pdf 
voir le lien suivant pour les aspects philosophiques : 
http://www.fsf.org/philosophy/no-word-attachments.fr.html
___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] Re: Gif support

2002-12-23 Thread Philippe Rousselot
At 12:40 23/12/02 -0500, you wrote:

On 2002-12-23 many people:


Talked about png images and web browser compatibility



please try this on your browsers

html
head/head
body bgColor=blue
!-- This DIV is the target container for the image.  --
DIV ID=oDiv STYLE=position:absolute; left:140px; height:400; width:400;
 filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(
 src='put_here_a_png', sizingMethod='scale'); 
/DIV
brbrbrbrbrbr
brbrbrbrbrbr
brbrbrbrbrbr
brbrbrbrbr

IMG SRC=put_here_a_png WIDTH= HEIGHT= BORDER=0 ALT=
/body
/html

the first image is a png and is visible with IE 6.0.2800 at least including 
the alpha transparency. I do not know about the other versions. but it is 
not visible with mozzila  1.0.1

the second is visible on both but the alpha transparency works only with 
mozzila of course

Is there a way to tell the browser, if it is IE do that if it is mozzila do 
this, if it is other do another thing. if possible in css and not javascript ?


Happy holiday

Philippe

___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] Re: Gif support

2002-12-23 Thread Philippe Rousselot
sorry

I forgot it would be sent as html page

go to

www.utpala.net/test.html


Philippe



At 20:08 23/12/02 +0100, you wrote:

At 12:40 23/12/02 -0500, you wrote:

On 2002-12-23 many people:


Talked about png images and web browser compatibility



please try this on your browsers
the first image is a png and is visible with IE 6.0.2800 at least including
the alpha transparency. I do not know about the other versions. but it is
not visible with mozzila  1.0.1

the second is visible on both but the alpha transparency works only with
mozzila of course

Is there a way to tell the browser, if it is IE do that if it is mozzila do
this, if it is other do another thing. if possible in css and not javascript ?


Happy holiday

Philippe

___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user



Re: [Gimp-user] Re: Gif support

2002-12-23 Thread Philippe Rousselot
but something is really a pain if you add a doctype  for html 4.01 it does 
not work anymore, only the one for 3.2 works

and then of course as ID and STYLE for DIV did not exist in version 3.2 the 
page is not anymore W3C compliant


Philippe

!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN
http://www.w3.org/TR/html4/loose.dtd;

!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 3.2 Final//EN



At 15:10 23/12/02 -0500, you wrote:
On Monday 23 December 2002 02:37 pm, Philippe Rousselot wrote:
 sorry

 I forgot it would be sent as html page

 go to

 www.utpala.net/test.html


 Philippe
===
Konqueror, Konqueror with Mozilla bindings and Mozilla 1.2 all view the
page the same for me.  Everything looks to be there and everything
visible.

Patrick

  --- KMail v1.4.3 --- SuSE Linux Pro v8.1 ---
Registered Linux User #225206
___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user



Re: [Gimp-user] Almost TOO Easy (resizing of images)

2002-11-23 Thread Philippe Rousselot
[EMAIL PROTECTED] ( Marc) (A.) (Lehmann ) wrote:

On Fri, Nov 22, 2002 at 05:45:22AM -0800, Jeff Ernest [EMAIL PROTECTED] wrote:


The drawbacks are evident if this is not for web
publication because they are only resized on the page
itself not the actual file itself. 


That's actually a big drawback _for_ web publishing, since it makes it
extremely awkward to access the page.


Hi,

it is slightly OT but this page http://chezgreg.net/coppermine/ will 
provide you with a great script for photo gallery


Philippe

___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] resizing a set of images

2002-11-21 Thread Philippe Rousselot
Patrick wrote:

On Thursday 21 November 2002 02:23 am, Nasim Shamlou wrote:


Morning,

I remember someone else having asked something similar to the
question I have, but I looked and looked but couldn't find it, so
I'll ask again:

Is there a way to resize a set of images all at once, instead of
editing them one by one?
And if this can't be done with The Gimp, is there another program I
could use?

I have about 100 images, and it would take far too long to start
resizing each one individually.

Thanks.
-Nasim Sh.



Hi,
here are a few scripts that may be usefull

sorry it is a little bit long

create a txt file copy the script in it
type chmod 755 the_name_of_the_file
put the file in /usr/bin
and use the cript from the folder containing the files


#!/bin/bash
for i in *jpg
	do
		# rotate the file and change its name to temp.jpeg
		
put here one of the line starting by convert that is in between the~

		# remove the file
		rm $i ;

		# give temp.jpeg the file name
		mv temp.jpeg $i ;

	done

~~~
#land2portrait 90 CCW
convert -rotate -90 $i temp.jpeg;

#land2portrait 90 CCW
convert -rotate 90 $i temp.jpeg;

#port2land 90_CCW
convert -rotate -90 $i temp.jpeg;

#port2land 90_CW
convert -rotate 90 $i temp.jpeg;

#landscape 180
convert -rotate 180 $i temp.jpeg;

#portrait 180
convert -rotate -180 $i temp.jpeg;



this file allows you to create a web page (W3C compliant) with thumnails 
of pictures as link to the same pictures.

you may need to have to adjust the file if the mail system screwed up by 
adding carriage returns

you will find there commands to resize images

#!/bin/sh

#  original credit ~
#vim: set sw=4 ts=4 et:
# wirtten by katja socher [EMAIL PROTECTED]
# and guido socher [EMAIL PROTECTED]
# ~~ end original credit ~~~

# I found the file at
# http://linuxfocus.org/English/July2001/article211.shtml

# the file has been heavily modified by myself
# to be able to create w3 compliant html page

# this is my first bash script, don't hesitate to email me
# any error or improvement

# Philippe Rousselot Aug. 2002,  EMail: linux at rousselot dot org


ver=1.0
one=1
number=1
extension=.html
page_numb=1 ;
j=0
array=('' '' '')

test()
{
case $page_numb in
	1) page_numb=01  ;;
	2) page_numb=02  ;;
	3) page_numb=03  ;;
	4) page_numb=04  ;;
	5) page_numb=05  ;;
	6) page_numb=06  ;;
	7) page_numb=07  ;;
	8) page_numb=08  ;;
	9) page_numb=09  ;;

esac
}

help()
{
cat HELP
	thumbnail_multipage -- generate W3 compliant html pages with thumbnails 
to click on for a number of images.
	USAGE: htmlthumbnails [-h] [ -W width] [-H height] [-N 
name_of_html_page] [-n number_of_image_per_page] path/image1 image2 ...
	OPTIONS: -h this help.
	EXAMPLE: htmlthumbnails -W 120 -H 80 -N page -n 6 image1 image2
	EXAMPLE: htmlthumbnails -W 80 -H 120 -N page -n 6 ~/images/*.jpeg
	The html code is written to files called 
name_of_html_page_file_number.html.
	I recommend leaving the script always in the same folder and using the 
absolute path for the images (~/path/image).
	All thumbnails have a size of widthxheight.
	Make sure you use the right orientation.

	This script requires ImageMagick

	if you modify the script, make sure the html file still validates as 
HTML 4.01 Transitional!

	version $ver
HELP
exit 0
}


error()
{
	echo $1
	exit $2

}

header()
{
	#creates header for html page
	cat  $filename  EOF
	!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN
	http://www.w3.org/TR/html4/loose.dtd;

	html
	head

	meta HTTP-EQUIV=Content-Type CONTENT=text/html; 
charset=ISO-8859-1
	meta name=Author LANG=fr CONTENT=
	meta name=Description CONTENT=Page created with 
thumbnail_multipage
	meta name=Description CONTENT=
	meta name=Keywords LANG=fr CONTENT=
	meta name=Identifier-URL CONTENT=http://;
	meta name=Reply-to CONTENT=
	meta name=revisit-after CONTENT=31
	meta name=Publisher CONTENT=Quanta Plus
	meta name=Copyright CONTENT=
	meta name=date CONTENT=2002-07-06
	meta name=Generator CONTENT=Quanta plus, gFTP

title   $title/title

	style type=text/css
	/style

	/head
	body

table border = 0 align=center width =500
tr align=center




EOF
}


footer()
{
	cat  $filename  EOF

td/tdtd
!-- link for ./$title2 --
a href=./$title2$title2/a
/tdtd/td
/tr
/table

br


			p
a href=http://validator.w3.org/check/referer;img border=0
			src=http://www.w3.org/Icons/valid-html401;
			alt=Valid HTML 4.01! height=31 width=88/a
  			/p

	/body

	/html
EOF
}

while [ -n $1 ];
do
 case $1 in
	-h) help

[Gimp-user] [OT]looking for icons

2002-11-19 Thread Philippe Rousselot
Hi,

Sorry this is somewhat out of topics.

I am not a talented artist, and I am looking for drawing indicating that 
the site is under construction. yellow cones, men at work sign etc. 
(copyright notice will be restected)

I am also looking for a nice 'made with Gimp' logo

Thanks in advance

Philippe

___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] [OT]looking for icons

2002-11-19 Thread Philippe Rousselot
Nigel Ridley wrote:

A quick search on Google for 'under construction clipart' gave the
following results (only a few here):
...


Thanks all

all this is very useful

Philippe

___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user



Re: [Gimp-user] Re: [OT]looking for icons (Philippe Rousselot)

2002-11-19 Thread Philippe Rousselot
Denis McCauley wrote:



For the made with the Gimp logo it would be sacrilege not to try 
Script Fu  Logos.
There must be something there that grabs you.
Cheers
Denis McCauley

thanks,

I use a lot script fu it is great (I particularly like frosty with 
adventure font), but I am looking for something more original requiring 
talents I do not have.

I found one with the fox on it and another one with a wave on it.

regards

Philippe


___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] Re: [OT]looking for icons

2002-11-19 Thread Philippe Rousselot
Scott Allen wrote:

How about http://www.gimp.org/logos.html ?



Thanks !

I already found the 2nd and last one. I think I will go for the 
penultimate one

Philippe



___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


[Gimp-user] semi transparent gradient

2002-11-11 Thread Philippe Rousselot
Hi,

I want to make a semi transparent gradient. I explain:

I have a 2x2pixels square with one blue diagonal and the other transparent
I have another one White and transparent

I have a large rectangle, let say 200x500.

I want the top alternating blue and transparent and by a gradient effect 
I want to get at the bottom, white and transparent

Is there a way of doing this?

thanks in advance


Philippe

___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] Is there a checker plugin for GIMP?

2002-09-10 Thread Philippe Rousselot

why not making a script using imagemagick rather than gimp, making a 
black square then a white square, and assembling both of them according 
to a pattern ?


not very difficult I guess.

I do not have time now but I could try that tonight

Steve wrote:
 I am trying to find a way to make a simple checkerboard sort of graphic.
 Background color is one square, then foreground, or vice-versa. 
 
 Thanks!
 
 
 -- Steve
 
 ___
 Gimp-user mailing list
 [EMAIL PROTECTED]
 http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


-- 
Philippe Rousselot.

utilisateur GNU/Linux #275608

~
Any similarities to real life is completely fictitious.
Nor trees or animals were harmed in the composition of this email message.
However, a number of electrons were moderately inconvenienced.

~

___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user



Re: [Gimp-user] Is there a checker plugin for GIMP?

2002-09-10 Thread Philippe Rousselot

and if you just are a jerk with no manners and obviously no respect for 
others just stay outside of mailing lists, it is only for civilised people

Jon Winters wrote:
 On Tue, 10 Sep 2002, Philippe Rousselot wrote:
 
 
why not making a script using imagemagick rather than gimp, making a
black square then a white square, and assembling both of them according
to a pattern ?
 
 
 filters  render  pattern  checkerboard
 
 If you're a dope-head activate the Psychobilly feature.


-- 
Philippe Rousselot.

utilisateur GNU/Linux #275608

~
Any similarities to real life is completely fictitious.
Nor trees or animals were harmed in the composition of this email message.
However, a number of electrons were moderately inconvenienced.

~

___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user



Re: [Gimp-user] Is there a checker plugin for GIMP?

2002-09-10 Thread Philippe Rousselot

Hi,

Jon I would like to apologize, I guess I did not activate my 
second-level-joke-module reading your post.

regards.


Jon Winters wrote:
 Um... I don't understand your post.  Isn't the checkerboard plugin what
 the dude was looking for?
 


others wrote:
 Hi Phillipe.
 
 He wasn't attacking you - there really is a Psychobilly option on 
the checkerboard renderer, and it's kind of 70's psychedelic-looking, 
like from the old San Francisco peacedope culture. dope = marijuana. 
It was just a joke.
 
 Regards, K.


-- 
Philippe Rousselot.

utilisateur GNU/Linux #275608

~
Any similarities to real life is completely fictitious.
Nor trees or animals were harmed in the composition of this email message.
However, a number of electrons were moderately inconvenienced.

~

___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user