View Single Post
Old 11-08-2015, 12:45 PM   #9
AlanHK
Guru
AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.
 
AlanHK's Avatar
 
Posts: 681
Karma: 929286
Join Date: Apr 2014
Device: PW-3, iPad, Android phone
Quote:
Originally Posted by dhdurgee View Post
At present Sigil image support allows you to incorporate existing image files into your epub. I would like to request that support be added to create a new image file in an epub from the clipboard.
With Firefox at least, if I "copy image" I can then paste it into a painting app, like Photoshop or Irfanview.

What I get is a rendered bitmap, not a file. The app then has to encode it to save it as a file.

If the original image was losslessly encoded, like gif or png, and you also save it to a lossless format, it's all fine, if a bit circuitous.
But if it was a jpeg, saved to a jpeg, the version you save will be degraded by the process.

So I think it's preferable to save the file and then import the file.


However, this does remind me of an idea I had:
I often extract an image, enhance it (or just reduce it from 800 kB to 80 kB, e.g.), or whatever, then replace it.

Easier if in Sigil's file browser, when you select an image have the option to edit the image in the app you set in preferences, or the default Windows app otherwise.

Sigil would extract the image to a temp folder, open the image editor on it, and when it was saved, replace the image with the edited version.

So in effect you can make Irfanview a Sigil plugin.
AlanHK is offline   Reply With Quote