Re: Thumbnail tags

2000-07-11 Thread Ric Smith

I've been using cf_gifgd  from the tag gallery
works good for me, but progressive jpg's will
break it. If anyone has any better solutions I'd
like to know also.

Ric Smith

- Original Message -
From: "Brian P. Doyle" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 11, 2000 11:48 AM
Subject: Thumbnail tags


> Does anyone know a decent way to create a thumbnail out of an uploaded
> image?  I'm trying to use the CF_AutoResize but it's not working.
>
> thanks
>
> -Brian
>
> --

> Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: Thumbnail tags

2000-07-11 Thread Matt Wisdom

I'm also looking to get/purchase a thumbnail tag, but one that does a decent
downsampling by interpolation -- merely throwing 4 of every 5 pixels away,
for instance, causes artifacts.

Additionally, I am looking to purchase a compositing tag for image
watermarking. It needs to be able to handle an alpha channel composite where
one image is larger than another. I could write this, but I'd just assume
use somebody else's since most of the effort will be spent writing the
decompress for jpegs and handling file formats. If you have source that will
open jpeg (and gif, png) images and write them to rgb buffers, that would be
enough of a start to finish this tag and distribute it...

Matt

> -Original Message-
> From: Brian P. Doyle [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 11, 2000 10:48 AM
> To: [EMAIL PROTECTED]
> Subject: Thumbnail tags
>
>
> Does anyone know a decent way to create a thumbnail out of an uploaded
> image?  I'm trying to use the CF_AutoResize but it's not working.
>
> thanks
>
> -Brian
>
> --
> 
> Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> To Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf
_talk or send a message to [EMAIL PROTECTED] with
'unsubscribe' in the body.

--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



Re: Thumbnail tags

2000-07-11 Thread Seth Petry-Johnson

> I've been using cf_gifgd  from the tag gallery
> works good for me, but progressive jpg's will
> break it. If anyone has any better solutions I'd
> like to know also.

I too have been stuck with cfx_gifgd and its problems with progressive
JPEGs. I've looked, but haven't found anything that is a good replacement.
If anyone knows of a good alternative, I too would be very interested.

However, I do know how to test for progressive JPEGs before resizing them.
The problem is that when CFX_GIFGD is called to resize a progressive JPEG it
causes the entire CF service to crash and restart, which is obviously a bad
thing.  I don't know enough about JPEGs (or the CFX code) to know why this
is.

To ensure that this won't happen, use CFX_GIFGD to read the file before you
resize it.  The READ action returns a series of variables about the image,
one of which is the file type.  If the image is a progressive JPEG the type
variable will contain an empty string.  Just wrap the resize action in a
CFIF that checks the length of the type variable.

For example:










Just a little workaround I discovered.  Hope it helps.

Regards,
Seth Petry-Johnson
Argo Enterprise and Associates

--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



Re: Thumbnail tags

2000-07-12 Thread ColdFusionKid

I'd use Jukka Manner's updated CFX_Image tag instead of the old CFX_GifGD
tag.  It has support for progressive jpegs as far as I can tell, it also has
much more features.


- Original Message -
From: "Seth Petry-Johnson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 11, 2000 8:30 PM
Subject: Re: Thumbnail tags


> > I've been using cf_gifgd  from the tag gallery
> > works good for me, but progressive jpg's will
> > break it. If anyone has any better solutions I'd
> > like to know also.
>
> I too have been stuck with cfx_gifgd and its problems with progressive
> JPEGs. I've looked, but haven't found anything that is a good replacement.
> If anyone knows of a good alternative, I too would be very interested.
>
> However, I do know how to test for progressive JPEGs before resizing them.
> The problem is that when CFX_GIFGD is called to resize a progressive JPEG
it
> causes the entire CF service to crash and restart, which is obviously a
bad
> thing.  I don't know enough about JPEGs (or the CFX code) to know why this
> is.
>
> To ensure that this won't happen, use CFX_GIFGD to read the file before
you
> resize it.  The READ action returns a series of variables about the image,
> one of which is the file type.  If the image is a progressive JPEG the
type
> variable will contain an empty string.  Just wrap the resize action in a
> CFIF that checks the length of the type variable.
>
> For example:
>
> 
> 
> 
> 
> 
> 
> 
> 
>
> Just a little workaround I discovered.  Hope it helps.
>
> Regards,
> Seth Petry-Johnson
> Argo Enterprise and Associates
>
> --

> Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
>

--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



Re: Thumbnail tags

2000-07-12 Thread KungFusion

you can use the CF_GifGD and when you encounter a progressive JPEG use
CGX_Image and CFX_ImageInfo to handle the resize.. I haven't used CF_GifGD
but I plan on using it with this combination..

Brian Silvers

[EMAIL PROTECTED]

X-Net Web Systems  Senior Developer
ColdFusion, SQL, PHP, Perl, Dynamic Content
Database Integration, Flash, and more!





- Original Message -
From: "ColdFusionKid" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 12, 2000 10:10 AM
Subject: Re: Thumbnail tags


> I'd use Jukka Manner's updated CFX_Image tag instead of the old CFX_GifGD
> tag.  It has support for progressive jpegs as far as I can tell, it also
has
> much more features.
>
>
> - Original Message -
> From: "Seth Petry-Johnson" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, July 11, 2000 8:30 PM
> Subject: Re: Thumbnail tags
>
>
> > > I've been using cf_gifgd  from the tag gallery
> > > works good for me, but progressive jpg's will
> > > break it. If anyone has any better solutions I'd
> > > like to know also.
> >
> > I too have been stuck with cfx_gifgd and its problems with progressive
> > JPEGs. I've looked, but haven't found anything that is a good
replacement.
> > If anyone knows of a good alternative, I too would be very interested.
> >
> > However, I do know how to test for progressive JPEGs before resizing
them.
> > The problem is that when CFX_GIFGD is called to resize a progressive
JPEG
> it
> > causes the entire CF service to crash and restart, which is obviously a
> bad
> > thing.  I don't know enough about JPEGs (or the CFX code) to know why
this
> > is.
> >
> > To ensure that this won't happen, use CFX_GIFGD to read the file before
> you
> > resize it.  The READ action returns a series of variables about the
image,
> > one of which is the file type.  If the image is a progressive JPEG the
> type
> > variable will contain an empty string.  Just wrap the resize action in a
> > CFIF that checks the length of the type variable.
> >
> > For example:
> >
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> >
> > Just a little workaround I discovered.  Hope it helps.
> >
> > Regards,
> > Seth Petry-Johnson
> > Argo Enterprise and Associates
> >
>
> --
> 
> > Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> > To Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
> send a message to [EMAIL PROTECTED] with 'unsubscribe' in
> the body.
> >
>
> --

> Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
>

--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: Thumbnail tags

2000-07-12 Thread Robert Everland

Dumb question, what are progressive jpegs?

Bob

-Original Message-
From: ColdFusionKid [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 12, 2000 11:11 AM
To: [EMAIL PROTECTED]
Subject: Re: Thumbnail tags


I'd use Jukka Manner's updated CFX_Image tag instead of the old CFX_GifGD
tag.  It has support for progressive jpegs as far as I can tell, it also has
much more features.


- Original Message -
From: "Seth Petry-Johnson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 11, 2000 8:30 PM
Subject: Re: Thumbnail tags


> > I've been using cf_gifgd  from the tag gallery
> > works good for me, but progressive jpg's will
> > break it. If anyone has any better solutions I'd
> > like to know also.
>
> I too have been stuck with cfx_gifgd and its problems with progressive
> JPEGs. I've looked, but haven't found anything that is a good replacement.
> If anyone knows of a good alternative, I too would be very interested.
>
> However, I do know how to test for progressive JPEGs before resizing them.
> The problem is that when CFX_GIFGD is called to resize a progressive JPEG
it
> causes the entire CF service to crash and restart, which is obviously a
bad
> thing.  I don't know enough about JPEGs (or the CFX code) to know why this
> is.
>
> To ensure that this won't happen, use CFX_GIFGD to read the file before
you
> resize it.  The READ action returns a series of variables about the image,
> one of which is the file type.  If the image is a progressive JPEG the
type
> variable will contain an empty string.  Just wrap the resize action in a
> CFIF that checks the length of the type variable.
>
> For example:
>
> 
> 
> 
> 
> 
> 
> 
> 
>
> Just a little workaround I discovered.  Hope it helps.
>
> Regards,
> Seth Petry-Johnson
> Argo Enterprise and Associates
>
> --

> Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
>


--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: Thumbnail tags

2000-07-12 Thread Robert Forsyth


>Dumb question, what are progressive jpegs?

>Bob

Jpegs born after May 15, 1987...

sorry. could not resist

--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebarRsts&bodyRsts/cf_talk or send a message 
to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: Thumbnail tags

2000-07-12 Thread Shane Witbeck

A progressive JPEG will display in the web browser in several passes, with
more detail reveal with each pass. Programs like Photoshop allow you to
specify the number of scans for the JPEG image you are creating.

Sincerely,
Shane Witbeck
Webmaster

-Original Message-
From: Robert Everland [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 12, 2000 11:51 AM
To: '[EMAIL PROTECTED]'
Subject: RE: Thumbnail tags


Dumb question, what are progressive jpegs?

Bob

-Original Message-
From: ColdFusionKid [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 12, 2000 11:11 AM
To: [EMAIL PROTECTED]
Subject: Re: Thumbnail tags


I'd use Jukka Manner's updated CFX_Image tag instead of the old CFX_GifGD
tag.  It has support for progressive jpegs as far as I can tell, it also has
much more features.


- Original Message -
From: "Seth Petry-Johnson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 11, 2000 8:30 PM
Subject: Re: Thumbnail tags


> > I've been using cf_gifgd  from the tag gallery
> > works good for me, but progressive jpg's will
> > break it. If anyone has any better solutions I'd
> > like to know also.
>
> I too have been stuck with cfx_gifgd and its problems with progressive
> JPEGs. I've looked, but haven't found anything that is a good replacement.
> If anyone knows of a good alternative, I too would be very interested.
>
> However, I do know how to test for progressive JPEGs before resizing them.
> The problem is that when CFX_GIFGD is called to resize a progressive JPEG
it
> causes the entire CF service to crash and restart, which is obviously a
bad
> thing.  I don't know enough about JPEGs (or the CFX code) to know why this
> is.
>
> To ensure that this won't happen, use CFX_GIFGD to read the file before
you
> resize it.  The READ action returns a series of variables about the image,
> one of which is the file type.  If the image is a progressive JPEG the
type
> variable will contain an empty string.  Just wrap the resize action in a
> CFIF that checks the length of the type variable.
>
> For example:
>
> 
> 
> 
> 
> 
> 
> 
> 
>
> Just a little workaround I discovered.  Hope it helps.
>
> Regards,
> Seth Petry-Johnson
> Argo Enterprise and Associates
>
> --

> Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
>


--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: Thumbnail tags

2000-07-12 Thread Philip Arnold - ASP

> Dumb question, what are progressive jpegs?

In their own way, they're like interlaced GIFs

The idea being that you get the "impression" of the image before the quality
is loaded, so that you can see "roughly" what the image is before it loads
fully

Useful for absolutely HAUGE images, but pointless for those of less than
10Kb

Hope this explains

Philip Arnold
ASP Multimedia Limited
T: +44 (0)20 8680 1133

"Websites for the real world"

**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
**


--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: Thumbnail tags

2000-07-12 Thread Rich Wild

BTW, what was wrong with CF_AutoResize?

I'm using it without any problems whatsoever...

What errors where you getting?

--
Rich Wild
Senior Web Designer

---
e-mango.com ltd  Tel: 01202 587 400
Lansdowne Place  Fax: 01202 587 401
17 Holdenhurst Road
Bournemouth   Mailto:[EMAIL PROTECTED]
BH8 8EW, UK  http://www.e-mango.com
---
This message may contain information which is legally
privileged and/or confidential.  If you are not the
intended recipient, you are hereby notified that any
unauthorised disclosure, copying, distribution or use
of this information is strictly prohibited. Such
notification notwithstanding, any comments, opinions,
information or conclusions expressed in this message
are those of the originator, not of e-mango.com ltd,
unless otherwise explicitly and independently indicated
by an authorised representative of e-mango.com ltd.
---
 
--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: Thumbnail tags

2000-07-13 Thread Brian P. Doyle

Actually I got CF_AutoResize to work.  I came up with numerous bugs but it
finally ended up that the commands to cfx_image in the source code for
autoresize.cfm were not delimited correctly.  As soon as I fixed that it
worked like a champ.  I also had to add some more error checking so that it
will not allow files that are not image files.  Basically I just improved
upon cfx_imageresize to create a great way to upload all images.




>Date: Thu, 13 Jul 2000 07:51:26 +0100
>From: Rich Wild <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
Subject: RE: Thumbnail tags
Message-ID: <[EMAIL PROTECTED]>

BTW, what was wrong with CF_AutoResize?

I'm using it without any problems whatsoever...

What errors where you getting?

--
Rich Wild
Senior Web Designer

---
e-mango.com ltd  Tel: 01202 587 400
Lansdowne Place  Fax: 01202 587 401
17 Holdenhurst Road
Bournemouth   Mailto:[EMAIL PROTECTED]
BH8 8EW, UK  http://www.e-mango.com
---
This message may contain information which is legally
privileged and/or confidential.  If you are not the
intended recipient, you are hereby notified that any
unauthorised disclosure, copying, distribution or use
of this information is strictly prohibited. Such
notification notwithstanding, any comments, opinions,
information or conclusions expressed in this message
are those of the originator, not of e-mango.com ltd,
unless otherwise explicitly and independently indicated
by an authorised representative of e-mango.com ltd.
---

--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: Thumbnail tags

2000-07-13 Thread Rich Wild

Hmmm - so what where these commands that weren't properly formatted?

I'm just curious because like I said, for me its working like a champ
straight from download. I'm using the other image tags such as CFX_GifGD as
well, to establish what can do what best - but AutoResize's thumbnail stuff
fitted my needs perfectly

--
Rich Wild
Senior Web Designer

---
e-mango.com ltd  Tel: 01202 587 400
Lansdowne Place  Fax: 01202 587 401
17 Holdenhurst Road
Bournemouth   Mailto:[EMAIL PROTECTED]
BH8 8EW, UK  http://www.e-mango.com
---
This message may contain information which is legally
privileged and/or confidential.  If you are not the
intended recipient, you are hereby notified that any
unauthorised disclosure, copying, distribution or use
of this information is strictly prohibited. Such
notification notwithstanding, any comments, opinions,
information or conclusions expressed in this message
are those of the originator, not of e-mango.com ltd,
unless otherwise explicitly and independently indicated
by an authorised representative of e-mango.com ltd.
---
 

-Original Message-
From: Brian P. Doyle [mailto:[EMAIL PROTECTED]]
Sent: 13 July 2000 19:45
To: [EMAIL PROTECTED]
Subject: RE: Thumbnail tags


Actually I got CF_AutoResize to work.  I came up with numerous bugs but it
finally ended up that the commands to cfx_image in the source code for
autoresize.cfm were not delimited correctly.  As soon as I fixed that it
worked like a champ.  I also had to add some more error checking so that it
will not allow files that are not image files.  Basically I just improved
upon cfx_imageresize to create a great way to upload all images.




>Date: Thu, 13 Jul 2000 07:51:26 +0100
>From: Rich Wild <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
Subject: RE: Thumbnail tags
Message-ID: <[EMAIL PROTECTED]>

BTW, what was wrong with CF_AutoResize?

I'm using it without any problems whatsoever...

What errors where you getting?

--
Rich Wild
Senior Web Designer

---
e-mango.com ltd  Tel: 01202 587 400
Lansdowne Place  Fax: 01202 587 401
17 Holdenhurst Road
Bournemouth   Mailto:[EMAIL PROTECTED]
BH8 8EW, UK  http://www.e-mango.com
---
This message may contain information which is legally
privileged and/or confidential.  If you are not the
intended recipient, you are hereby notified that any
unauthorised disclosure, copying, distribution or use
of this information is strictly prohibited. Such
notification notwithstanding, any comments, opinions,
information or conclusions expressed in this message
are those of the originator, not of e-mango.com ltd,
unless otherwise explicitly and independently indicated
by an authorised representative of e-mango.com ltd.
---


--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.