mwoffliner icon indicating copy to clipboard operation
mwoffliner copied to clipboard

Full (bigger) size image support

Open ghost opened this issue 3 years ago • 9 comments

@sobaee commented on Feb 25, 2021, 4:51 AM UTC:

Kiwix is compressing image files like wikipedia mobile website.

Yesterday I looked for this article (thoracodorsal nerve) in online wikipedia after I changed the setting to be desktop instead of mobile, and I discovered the difference.

The wikipedia desktop image is very much better than mobile wikipedia or kiwix files "zim"

Mobile version or kiwix picture example: Gray807

Wikipedia desktop picture (the same image but high quality): 500px-Gray807

Please provide us a medical wikipedia with full sized images 🙏

This issue was moved by kelson42 from kiwix/overview#52.

ghost avatar Mar 01 '21 08:03 ghost

Why closed?

sobaee avatar Mar 01 '21 16:03 sobaee

@sobaee it isn't closed the issue was closed in kiwix/overview as it is moved to mwoffliner where it will be handled.

@kelson42 what do you suggest for this issue should we include another parameter for lossless quality conversion and no compression so that wiki files like medical wikipedia can have no compression or something else?

MananJethwani avatar Mar 02 '21 07:03 MananJethwani

This feature is requested time to time. Probably we could scrape pictures in higher resolutions and let the user see the fullsize by clicking on a thumbnail. Not really a priority for me for the moment because this would make ZIM files significantly bigger and most users simply underestimate this problem.

kelson42 avatar Mar 04 '21 08:03 kelson42

Hi @kelson42

May be you could add this bigger file to the list for english medical wikipedia only in the name of for example "Wikipedia medicine full!!"

Or if you will not intend to do it right now, you may do this favor for me and send the producted ZIM file to me as a personal favor please 🙏

sobaee avatar Mar 04 '21 14:03 sobaee

Iam a beginner I couldn't find any separated site for medical wikipedia to try to download it as a whole site to use it offline (just separated articles someone find them when he search about each one separately)

Me and million people around the world appreciate what you do to make it possible for them to use this great source in the places that the internet connection is hard to be found or used.

I just would hope if an amazing medical source like medical wikipedia be available in a bigger sized images to get the most benefit of it.

Please my dear developer, if you just have a time you have no thing to do, could you please do it?

sobaee avatar Mar 04 '21 18:03 sobaee

@sobaee We're very happy that you're finding Kiwix useful. You know that what you propose would make very large file sizes. WikiMed English with images is already very large, and that is a problem especially for people who have basic Android mobiles, for example, with limited storage. So there is a balance here between overall file size and compression of images.

What might be possible, if you need a full res version of an image, would be to provide a way for a click on the image optionally to download the equivalent image from Wikipedia at the resolution shown on the desktop version. This of course uses data, but so does downloading a very large ZIM file, so maybe that could be a compromise in some contexts. However, this would depend on someone wanting to code such a feature, and there are many other priorities at the moment.

Jaifroid avatar Mar 04 '21 20:03 Jaifroid

Hi @Jaifroid I appreciate your quick response.

Thank you for making this clear, and I will be waiting for the feature that you mentioned to be included in the future when you developers decide to do, but at least please put this in the list of your priorities.

Also, I would try to learn how your tool (mwoffliner) work, buy a good device to run linux and try to use it to accomplish this (if it's allowed).

Thanks a lot.

sobaee avatar Mar 04 '21 21:03 sobaee

@sobaee Of course it's allowed! Like Wikipedia, this is an open-source project to which anyone can contribute, so long as they have or are willing to learn the skills needed to write good-quality code. Anyone can also clone (or fork) the repositories and work on features that interest them, or try different things out informally.

Jaifroid avatar Mar 04 '21 21:03 Jaifroid

This issue has been automatically marked as stale because it has not had recent activity. It will be now be reviewed manually. Thank you for your contributions.

stale[bot] avatar Jun 02 '21 16:06 stale[bot]

@sobaee wrote:

I will be waiting for the feature that you mentioned to be included in the future when you developers decide to do, but at least please put this in the list of your priorities.

I forgot to update this issue when we added this feature to the Kiwix JS PWA version (also in the Electron and UWP versions). In Configuration, there is an option to link offline images in Wikimedia ZIMs to the equivalent full-res version on Wikimedia Commons. It's quite a basic feature (just hyperlinks the image, and it will open in a browser when clicked). It's off by default, has to be turned on by the user. Obviously only works if you have Internet access. Use case might be for when Internet access is available but slow or limited and you need to access just one higher-quality image in an article.

Jaifroid avatar Jan 01 '23 12:01 Jaifroid

Oh, thanks a lot Just if this feature is supported in Kiwix app for android or to have Kiwix JS PWA as android app, this would be even much better

sobaee avatar Jan 01 '23 17:01 sobaee

Oh, thanks a lot Just if this feature is supported in Kiwix app for android or to have Kiwix JS PWA as android app, this would be even much better

Although I recommend the Kiwix Android app as the most functional solution for Android, as a backup/alternative, you can in fact install the PWA on Android, if you use a Chromium browser (the fastest one with the PWA is Samsung Internet, but Chrome or Edge also work). You will see an Install button in Configuration. However, it has these limitations:

  • You have to pick the archive on each launch of the app, because the File System Access API isn't implemented on Chromium for Android;
  • In Chromium (except Samsung Internet) it is quite slow with full English Wikipedia, faster with smaller ZIMs;
  • Full-text search doesn't work on Android, only title search.

Jaifroid avatar Jan 02 '23 08:01 Jaifroid

This issue has been automatically marked as stale because it has not had recent activity. It will be now be reviewed manually. Thank you for your contributions.

stale[bot] avatar May 26 '23 18:05 stale[bot]