Re: [Glamtools] TIFF error when using Bulk Uploader

2015-10-29 Thread Brian Wolff
If possible, could you upload both. Its nice to have the original too,
even if not used in articles, in case some later person has need for
it.

> if the only option to view them in the commons is by download (ie they
> aren't able to be scaled and downloaded at different res in the viewer) they
> won't be much use to the greatest number of folks. We also would love for
> them to populate articles if possible so I think JPG is the most practical
> way to go for this batch.

To be clear, this is incorrect.

Fae was complaining that for tiff files, if you click, "view original
image" (or the mislabeled equivalent "zoom" in the media viewer). You
get the original full sized tiff. Which kind of sucks (For reference,
the same thing happens with large jpegs). However, tiff files (of any
size) can be scaled to jpg or png of reasonable size (We don't support
scaling a 200 megapixel tiff -> 200 megapixel jpg. But we do support
scaling of big tiffs to any sort of thumbnail size you'd find in an
article). There is a bug with 16bit tiff files, but all other tiff
files should render fine.

Anyways, before making a decision, I recommend you judge for yourself.
Here's what the tiff file you uploaded to beta would look like in an
article: https://test.wikipedia.org/wiki/User:Bawolff/example_tiff

--
-bawolff

On 10/29/15, McGregor, Nora  wrote:
> Right-o. We've batch converted the images to JPG and are very happy with the
> resulting quality so will likely post those instead of the TIFFs because we
> want to make absolutely certain they work with the media player and can be
> scaled and downloaded at different resolutions. In fact on reflection, the
> TIFFs were so huge that we're not even sure they would be that usable for
> the average person, they crash the simple image viewers on our own PC's, and
> if the only option to view them in the commons is by download (ie they
> aren't able to be scaled and downloaded at different res in the viewer) they
> won't be much use to the greatest number of folks. We also would love for
> them to populate articles if possible so I think JPG is the most practical
> way to go for this batch. Though I certainly take Fae's point from last year
> around not shying away from a challenge and opportunity to fix something,
> I'm sure there will be more opportunities for that with future BL batches!
>
> Thanks everyone for the feedback/convo!
>
> Nora
> British Library
> @ndalyrose
>
>
>

___
Glamtools mailing list
Glamtools@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/glamtools


Re: [Glamtools] TIFF error when using Bulk Uploader

2015-10-29 Thread McGregor, Nora
Right-o. We've batch converted the images to JPG and are very happy with the 
resulting quality so will likely post those instead of the TIFFs because we 
want to make absolutely certain they work with the media player and can be 
scaled and downloaded at different resolutions. In fact on reflection, the 
TIFFs were so huge that we're not even sure they would be that usable for the 
average person, they crash the simple image viewers on our own PC's, and if the 
only option to view them in the commons is by download (ie they aren't able to 
be scaled and downloaded at different res in the viewer) they won't be much use 
to the greatest number of folks. We also would love for them to populate 
articles if possible so I think JPG is the most practical way to go for this 
batch. Though I certainly take Fae's point from last year around not shying 
away from a challenge and opportunity to fix something, I'm sure there will be 
more opportunities for that with future BL batches!

Thanks everyone for the feedback/convo!

Nora
British Library
@ndalyrose




--

Message: 1
Date: Wed, 28 Oct 2015 13:58:17 -0400
From: J Hayes <slowki...@gmail.com>
To: Conversations revolving around the development of GLAM Digital
Tools <glamtools@lists.wikimedia.org>
Subject: Re: [Glamtools] TIFF error when using Bulk Uploader
Message-ID:

Re: [Glamtools] TIFF error when using Bulk Uploader

2015-10-28 Thread Brian Wolff
On 10/28/15, J Hayes  wrote:
> large tiffs are not rendering in commons.
> "The bug is in the MediaWiki thumbnail generator,"
> https://commons.wikimedia.org/wiki/Commons:Help_desk/Archive/2015/02#Polar_bear_in_a_snowstorm.3F
>
> vipscaler might be a solution
> https://meta.wikimedia.org/wiki/Wikimedia_Blog/Drafts/VipsScaler

Oddly enough, vips scalar was the problem here. There used to be a bug
that causes that, its been fixed now (for a long time now), but the
old version was cached. If you see any images that are almost entirely
white with a bit of black around the edges, do ?action=purge to the
image description page.

However there appears to be a second bug (
https://phabricator.wikimedia.org/T116947 ). Rendering the file in
sizes less then 2523px seems to be broken.

--
-bawolff

___
Glamtools mailing list
Glamtools@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/glamtools


Re: [Glamtools] TIFF error when using Bulk Uploader

2015-10-28 Thread Brian Wolff
There shouldn't be (anymore). Do you have any examples of files with that error?

There are a few (I mean few as in probably less than 10 over all of
commons) tiff files that don't render that I am aware of, but they
don't have that error and instead just time out.

--
-bawolff

On 10/28/15, J Hayes  wrote:
> thanks - non-render size up to 50 MP which should get most images in use
>
> but there are still some larger
> " Error creating thumbnail: Invalid thumbnail parameters or TIFF file with
> more than 50 MP "
>
> On Wed, Oct 28, 2015 at 2:16 PM, Brian Wolff  wrote:
>
>> On 10/28/15, J Hayes  wrote:
>> > large tiffs are not rendering in commons.
>> > "The bug is in the MediaWiki thumbnail generator,"
>> >
>> https://commons.wikimedia.org/wiki/Commons:Help_desk/Archive/2015/02#Polar_bear_in_a_snowstorm.3F
>> >
>> > vipscaler might be a solution
>> > https://meta.wikimedia.org/wiki/Wikimedia_Blog/Drafts/VipsScaler
>>
>> Oddly enough, vips scalar was the problem here. There used to be a bug
>> that causes that, its been fixed now (for a long time now), but the
>> old version was cached. If you see any images that are almost entirely
>> white with a bit of black around the edges, do ?action=purge to the
>> image description page.
>>
>> However there appears to be a second bug (
>> https://phabricator.wikimedia.org/T116947 ). Rendering the file in
>> sizes less then 2523px seems to be broken.
>>
>> --
>> -bawolff
>>
>> ___
>> Glamtools mailing list
>> Glamtools@lists.wikimedia.org
>> https://lists.wikimedia.org/mailman/listinfo/glamtools
>>
>

___
Glamtools mailing list
Glamtools@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/glamtools


Re: [Glamtools] TIFF error when using Bulk Uploader

2015-10-28 Thread J Hayes
for example this one here:

https://commons.wikimedia.org/wiki/File:Ceremony_dupont_circle_fountain_31125a.tif

i stopped uploading LOC tiff files for this reason

On Wed, Oct 28, 2015 at 2:56 PM, Brian Wolff  wrote:

> There shouldn't be (anymore). Do you have any examples of files with that
> error?
>
> There are a few (I mean few as in probably less than 10 over all of
> commons) tiff files that don't render that I am aware of, but they
> don't have that error and instead just time out.
>
> --
> -bawolff
>
> On 10/28/15, J Hayes  wrote:
> > thanks - non-render size up to 50 MP which should get most images in use
> >
> > but there are still some larger
> > " Error creating thumbnail: Invalid thumbnail parameters or TIFF file
> with
> > more than 50 MP "
> >
> > On Wed, Oct 28, 2015 at 2:16 PM, Brian Wolff  wrote:
> >
> >> On 10/28/15, J Hayes  wrote:
> >> > large tiffs are not rendering in commons.
> >> > "The bug is in the MediaWiki thumbnail generator,"
> >> >
> >>
> https://commons.wikimedia.org/wiki/Commons:Help_desk/Archive/2015/02#Polar_bear_in_a_snowstorm.3F
> >> >
> >> > vipscaler might be a solution
> >> > https://meta.wikimedia.org/wiki/Wikimedia_Blog/Drafts/VipsScaler
> >>
> >> Oddly enough, vips scalar was the problem here. There used to be a bug
> >> that causes that, its been fixed now (for a long time now), but the
> >> old version was cached. If you see any images that are almost entirely
> >> white with a bit of black around the edges, do ?action=purge to the
> >> image description page.
> >>
> >> However there appears to be a second bug (
> >> https://phabricator.wikimedia.org/T116947 ). Rendering the file in
> >> sizes less then 2523px seems to be broken.
> >>
> >> --
> >> -bawolff
> >>
> >> ___
> >> Glamtools mailing list
> >> Glamtools@lists.wikimedia.org
> >> https://lists.wikimedia.org/mailman/listinfo/glamtools
> >>
> >
>
> ___
> Glamtools mailing list
> Glamtools@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/glamtools
>
___
Glamtools mailing list
Glamtools@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/glamtools


Re: [Glamtools] TIFF error when using Bulk Uploader

2015-10-27 Thread Manuela Schwendener
Hi

(Not used to posting in mailing lists, so please excuse if I'm doing it wrong.)

We have the same problem with some of our large maps that we uploaded as tifs 
(https://commons.wikimedia.org/wiki/Category:UB_Basel_Maps), uploaded via 
https://commons.wikimedia.org/wiki/Commons:GLAMwiki_Toolset.

The latest reply we got: https://phabricator.wikimedia.org/T111941#1649859 " 
btw, be advised that due to quirks in how we render tiff thumbnails, the limit 
on large files where we don't display thumbnails is much higher for the first 
page then the other page, so we might not display later pages on some of your 
really big files." 
 
The task has been moved to 'Done' - but I'd very much like if this could be 
fixed. Or if at least - for future uploads by other institutions - there was a 
warning about that _before_ you start uploading.  

Prominent example: Mercator's world map from 1569, scanned in 3 stripes 
https://commons.wikimedia.org/wiki/File:UBBasel_Map_1569_Kartenslg_AA_3-5.tif. 
To see all 3 pages you have to click on the link 'Original file'.  


Manuela Schwendener
Basel University Library
http://www.ub.unibas.ch 
https://de.wikipedia.org/wiki/Benutzer:Basel_University_Library 



> -Ursprüngliche Nachricht-
> Von: Glamtools [mailto:glamtools-boun...@lists.wikimedia.org] Im Auftrag
> von Fæ
> Gesendet: Dienstag, 27. Oktober 2015 12:56
> An: Conversations revolving around the development of GLAM Digital Tools
> Betreff: Re: [Glamtools] TIFF error when using Bulk Uploader
> 
> Large TIFFs can be problematic. For the some of my past projects relying on
> TIFFs, I have created PNG files and JPEGs to help with their reuse, but always
> uploaded the original TIFF. Note that at the current time TIFFs cannot be
> browsed in the media player, so they are not ideal if you want the images to
> be used on Wikipedia articles etc.
> 
> A relevant past discussion about this is at
> https://phabricator.wikimedia.org/T67217
> 
> Fae
> 
> On 27 October 2015 at 11:28, McGregor, Nora <nora.mcgre...@bl.uk>
> wrote:
> > Hi Folks! I’m trying to upload some high-res TIFFS using the bulk
> > uploader tool however in Beta it’s struggling with creating the thumbnails:
> Example:
> > http://commons.wikimedia.beta.wmflabs.org/wiki/File:Tracing_of_Field_S
> > heet_9_(WOOS-18-3).tif
> >
> >
> >
> > 1)  Does this reflect the reality of how my upload will render on the
> > live site?
> >
> > 2)  When using the bulk uploader am I limited to using .jpgs?
> >
> >
> >
> > The original link to the URL for uploading is here:
> > http://www.webarchive.org.uk/bldatasets/WOA/WOOS_18_3.tif  Is it
> > because TIFFS don’t render in the browser that the bulk uploader isn’t
> > able to grab it and display in the same way as the jpg? Please advise,
> > hoping to get these up asap and would prefer to use TIFFS. Cheers!
> >
> >
> >
> > Nora McGregor
> > British Library
> > @ndalyrose
> >
> >
> >
> >
> >
> >
> **
> 
> > 
> > Experience the British Library online at www.bl.uk The British
> > Library’s latest Annual Report and Accounts :
> > www.bl.uk/aboutus/annrep/index.html
> > Help the British Library conserve the world's knowledge. Adopt a Book.
> > www.bl.uk/adoptabook
> > The Library's St Pancras site is WiFi - enabled
> >
> **
> 
> > ***
> > The information contained in this e-mail is confidential and may be
> > legally privileged. It is intended for the addressee(s) only. If you
> > are not the intended recipient, please delete this e-mail and notify
> > the postmas...@bl.uk : The contents of this e-mail must not be
> > disclosed or copied without the sender's consent.
> > The statements and opinions expressed in this message are those of the
> > author and do not necessarily reflect those of the British Library.
> > The British Library does not take any responsibility for the views of
> > the author.
> >
> **
> 
> > ***
> > Think before you print
> >
> > ___
> > Glamtools mailing list
> > Glamtools@lists.wikimedia.org
> > https://lists.wikimedia.org/mailman/listinfo/glamtools
> >
> 
> 
> 
> --
> fae...@gmail.com https://commons.wikimedia.org/wiki/User:Fae
> Personal and confidential, please do not circulate or re-quote.
> 
> ___
> Glamtools mailing list
> Glamtools@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/glamtools
___
Glamtools mailing list
Glamtools@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/glamtools