suggestion for other internal images

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

suggestion for other internal images

Post by fmw42 »

I use several images for testing and examples when demonstrating IM effects on the Discourse server. I was wondering if it might be appropriate to add a few more of these common test images as IM internal images, so that I don't have to link the original images to my posts all the time. Not a big deal, but it might be nice to have a few more common tests images available, if it makes sense and is not too hard or time consuming to do.

The ones I would suggest to start are: zelda, lena and mandril (perhaps peppers). These and others are publicly available at http://sipi.usc.edu/database/database.php?volume=misc

I would be happy to supply those images at whatever size makes sense from 128x128 upwards to whatever they have as max size (probably about 512x512 or thereabouts). Let me know.

A few of Anthony's images might also be useful, such as cyclops, hatching, koala.

Fred
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: suggestion for other internal images

Post by magick »

Add your images to file://magick.imagemagick.org:///var/www/html/ImageMagick/reference. You should be able to write to this folder. The images will then mirror to http://www.imagemagick.org by sometime tomorrow.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: suggestion for other internal images

Post by fmw42 »

Do you have suggestions for the image sizes? Do you want 128x128 or 512x512, if available. Is PNG format OK?

I will work on adding them tomorrow.
NicolasRobidoux
Posts: 1944
Joined: 2010-08-28T11:16:00-07:00
Authentication code: 8675308
Location: Montreal, Canada

Re: suggestion for other internal images

Post by NicolasRobidoux »

fmw42 wrote:Do you have suggestions for the image sizes? Do you want 128x128 or 512x512, if available. Is PNG format OK? ...
In ImageMagick/images, the images are jpg, png and gif.

-----

I think it's a great idea to add these commonly used and standard test images to ImageMagick/images.

Because they are standard test images, they should be put in IM in the original size/bit depth. That is, they should be the unmodified versions of the original test images, with the exact original names.

The images are not that big. But if space is an issue, you could convert to png with maximum compression (which is lossless) and see if you gain anything. With very small images, I am not sure there is always a gain.

Note: My understanding is that the Lena test picture is copyrighted by Playboy (it is a low res scan of a crop of a centerfold picture) but that Playboy has never made a claim against it. If IM wants to be totaly pure w.r.t. copyright (let alone content), maybe it should be left out.
Last edited by NicolasRobidoux on 2011-02-24T12:43:12-07:00, edited 1 time in total.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: suggestion for other internal images

Post by fmw42 »

See private email about copyrights. Most of those USC images are in tiff format and many of the images are over or underexposed. So I was going to enhance them to something useful. Let me know here or by private email if you want to use any of them and if I should enhance them.

Fred
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: suggestion for other internal images

Post by magick »

Add any copyrights to the Notice.txt file in the reference folder.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: suggestion for other internal images

Post by fmw42 »

magick wrote:Add any copyrights to the Notice.txt file in the reference folder.

OK. Do you want to use Lena or not in this case?

And do I try to enhance the images if too dark?

And if I take the originals, is tiff OK?
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: suggestion for other internal images

Post by magick »

It's up to you Fred. We created the folder as you requested and we assume that proper copyright notices permit us to use the images. If we run into any problems, we can rethink their usage.
NicolasRobidoux
Posts: 1944
Joined: 2010-08-28T11:16:00-07:00
Authentication code: 8675308
Location: Montreal, Canada

Re: suggestion for other internal images

Post by NicolasRobidoux »

fmw42 wrote:...
And do I try to enhance the images if too dark?
Pardon my butting in again:

These images are both "standard" and "classic." I really do not like the idea of them being "enhanced."

"Everybody" knows their flaws. These flaws are part and parcel of what they are. When, in a publication, someone uses one of them, the standard assumption is that they did not doctor the image prior to use (or else it is expected that how these "standard input images" were modified is explicitly stated).

If I knew that the versions included in IM were "enhanced," I'd never use them. I'd run back to the USC repo.

That's the thing with standard test data.

(Converting to another format, provided the conversion is lossless, is another story.)
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: suggestion for other internal images

Post by fmw42 »

I already decided to post as extracted. But thanks for reinforcing that decision.

Nicolas, do you have any other suggestions for images?
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: suggestion for other internal images

Post by fmw42 »

I have uploaded the four images (zelda, lena, mandril, peppers) and the copyright notice. Is there anything I need to do to prepare the page http://www.imagemagick.org/script/forma ... tin-images
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: suggestion for other internal images

Post by magick »

For now, the images are hosted on ImageMagick and can be referenced by
You can add a section to the formats web page and call it Reference Images. Describe each image and use the proper URL. These images, due to copyright and space considerations, will not be part of the formal ImageMagick source distribution. We can also bundle them separately and put them on the ImageMagick ftp website for users to download.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: suggestion for other internal images

Post by fmw42 »

OK. Sounds reasonable.

Will they eventually be referenced as lena: or always with http://www.imagemagick.org/reference/lena.tiff?
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: suggestion for other internal images

Post by magick »

We think the copyright precludes using them directly within ImageMagick. The copyright says they can be used for research purposes only and we encourage the use of ImageMagick in academic as well as commercial environment. The best alternative is to package them for distribution on the ImageMagick web site then encourage users to download them and access them directly from their disk (e.g. convert lena.tiff ...).
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: suggestion for other internal images

Post by fmw42 »

OK. So I take it that they will not be employed at any later time with the syntax of lena:

That is too bad, but I understand the point about the copyright.

Do you still want me to modify http://www.imagemagick.org/script/forma ... tin-images to add the reference section for these images?
Post Reply