Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old Yesterday, 11:18 AM   #16
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,468
Karma: 21000001
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
I find myself editing just about every image in Photoshop using Open With. It is mostly to resize an image from a really large file size to something reasonable. Occasionally I change the format from jpg to png to get a transparent background (can’t stand big blocks of white around an image when using dark mode). I don’t know how easy that would be using the python modules… I would expect to need a gui to get the selection process perfect. I’m totally ok continuing to use open with for those changes - but it would be awesome to have basic image edits built-in.
Turtle91 is offline   Reply With Quote
Old Yesterday, 12:39 PM   #17
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 9,460
Karma: 6734148
Join Date: Nov 2009
Device: many
FWIW, there are a huge number of applications on every platform to do simple image editing. I really hate to bloat the Sigil code just to duplicate one just for those unwilling to use Open With.

Here attached is a screenshot of Sigil running on my Manjaro Box after using OpenWith with a single right click to open the image from our User Guide in "gwenview". Its interface is very simple and includes everything you can do in Calibre plus more.

I can do the same thing on a Mac with the built-in Apple Previewer.

It could not be simpler.

Are there really no good simple image editors for Windows?

I am just not convinced (yet) adding this in any way helps given the flexibility of OpenWith ot use your favorite editor. You do not need to open images with Gimp or Photoshop just to do a simple resize or rotate.

If you have to do this to lots of images in a single epub, a plugin is the way to go.

All of these tools are available in Python (even gui ones) via PySide6 and Qt or directly in Python via the PIL library, so handling this via a plugin for buld changes can be done.

And Doitsu already has png optimizers and jpeg optimizer plugins to use to do both lossless and lossy file compression.
Attached Thumbnails
Click image for larger version

Name:	Screenshot_20260324_123058.png
Views:	16
Size:	149.4 KB
ID:	222031  

Last edited by KevinH; Yesterday at 02:30 PM.
KevinH is online now   Reply With Quote
Old Yesterday, 12:49 PM   #18
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 29,235
Karma: 211539966
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
I haven't used it in a long time, but IrfanView on Windows used to be dead simple to use to rotate, resize, flip, etc...

Last edited by DiapDealer; Yesterday at 12:52 PM.
DiapDealer is offline   Reply With Quote
Old Yesterday, 02:13 PM   #19
retiredbiker
Evangelist
retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.
 
retiredbiker's Avatar
 
Posts: 477
Karma: 3972002
Join Date: May 2013
Location: Ontario, Canada
Device: Pop_Os!, Kobo Forma
Quote:
Originally Posted by Doitsu View Post
OK, note to self, write on wall above the PC in bright red crayon: CHECK FOR PLUGINS FIRST!

I loaded up these plugins, made a quick epub with a bunch of junk images, both png and jpeg. Ran the plugins with some different settings, lossless and lossy.

They work great! Thank you Doitsu, once again. I especially like the quick and efficient file size reduction of the png images.

This takes care of most file size edits as far as I can see, for what I do with images. Still sometimes will want to reduce physical picture size, for example some cover that comes in at 7000x9000 or the like, but that is easily done using open with.
retiredbiker is offline   Reply With Quote
Old Yesterday, 07:35 PM   #20
ElMiko
Fanatic
ElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileRead
 
ElMiko's Avatar
 
Posts: 548
Karma: 65460
Join Date: Jun 2011
Device: Kindle Voyage, Boox Go 7
Once upon a time, selecting a clip from the clip window didn't change the window focus. That is, similar to if one were to apply a <b> tag to selected text, the cursor remained in the code window; one need not mouse back into the code window to start typing. If this functionality was removed for a reason, no worries. But if it just got lost in the shuffle during one of the updates, it'd be nice to have it back.

The only other thing I'm curious about is dragging/dropping files into the Book Browser window. It'd be nice to be able to drag and drop images, font files, css, etc. into the book browser as an alternative to the "Add Existing Files" dialog.
ElMiko is offline   Reply With Quote
Old Yesterday, 07:46 PM   #21
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 50,846
Karma: 178402710
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
For myself, I've been using Paint.NET on Windows to edit images from inside Sigil. I've also played with GIMP, ImageMagick with batch files, and InkScape. Once I had the batch files created, ImageMagick was the easiest for simple predefined actions.

A plugin to handle those simple resize, rotate, recompress, etc. jobs might be handy but I would prefer not to see Sigil adding image editing functions to the base code.

Last edited by DNSB; Yesterday at 07:48 PM.
DNSB is offline   Reply With Quote
Old Yesterday, 08:48 PM   #22
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 9,460
Karma: 6734148
Join Date: Nov 2009
Device: many
Quote:
Originally Posted by ElMiko View Post
Once upon a time, selecting a clip from the clip window didn't change the window focus. That is, similar to if one were to apply a <b> tag to selected text, the cursor remained in the code window; one need not mouse back into the code window to start typing. If this functionality was removed for a reason, no worries. But if it just got lost in the shuffle during one of the updates, it'd be nice to have it back.

The only other thing I'm curious about is dragging/dropping files into the Book Browser window. It'd be nice to be able to drag and drop images, font files, css, etc. into the book browser as an alternative to the "Add Existing Files" dialog.
It was done for Accessibility reasons for people who have issues using a mouse. The ClipsWindow now gets focus so that keyboard arrow keys can be used to select a clip or clips. There is now a shortcut you can assign to move focus to and from CodeView, ClipsWindow, BookBrowser, etc. That way Sigil can be navigated directly from the keyboard. This necessitated ClipsWindow getting focus. That change was made a few releases back. Not something we want to change now.

If you use the Clips toolbar (either clips 1 or clips 2), as toolbar buttons never get focus themselves, those clips still work with a single click like before. Hopefully the covers your most often used clips.

Last edited by KevinH; Yesterday at 08:54 PM.
KevinH is online now   Reply With Quote
Old Yesterday, 08:50 PM   #23
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 9,460
Karma: 6734148
Join Date: Nov 2009
Device: many
Quote:
Originally Posted by KevinH View Post
It was done for Accessibility reasons for people who have issues using a mouse. The ClipsWindow now gets focus so that keyboard arrow keys can be used to select a clip or clips. There is now a shortcut you can assign to move focus to and from CodeView, ClipsWindow, BookBrowser, etc. That way Sigil can be navigated directly from the keyboard. This necessitated ClipsWindow getting focus. That change was made a few releases back. Not something we want to change now.
And As for Drag and Drop in Qt, it simply has broken and caused crashes too many times. So we limit its use greatly. No one on Qt seems to care enough to make it truly robust across all platforms.

If we ever decide to add Drag and Drop onto BookBrowser as an alternative to Add Existing, we would probably disable it by default and warn users that enabling it may cause Qt internal crashes and thus is unsupported by Sigil.

Not sure it is worth the effort. But I am open to hear others' opinions.

Last edited by KevinH; Yesterday at 09:28 PM.
KevinH is online now   Reply With Quote
Old Yesterday, 10:36 PM   #24
ElMiko
Fanatic
ElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileRead
 
ElMiko's Avatar
 
Posts: 548
Karma: 65460
Join Date: Jun 2011
Device: Kindle Voyage, Boox Go 7
Quote:
Originally Posted by KevinH View Post
It was done for Accessibility reasons for people who have issues using a mouse. The ClipsWindow now gets focus so that keyboard arrow keys can be used to select a clip or clips. There is now a shortcut you can assign to move focus to and from CodeView, ClipsWindow, BookBrowser, etc. That way Sigil can be navigated directly from the keyboard. This necessitated ClipsWindow getting focus. That change was made a few releases back. Not something we want to change now.

If you use the Clips toolbar (either clips 1 or clips 2), as toolbar buttons never get focus themselves, those clips still work with a single click like before. Hopefully the covers your most often used clips.
The "Move Focus" shortcut is just as good! Thanks for pointing it out. It's been explained before that the windows like Spellcheck and Reports are treated a child windows (presumably of Code View) and therefore can't be focused out of any way other than via mouse. Is that structure a must-have for other functionality? Any chance of making it possible to focus out of those child windows without clicking or closing, too?
ElMiko is offline   Reply With Quote
Old Yesterday, 11:32 PM   #25
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 22,520
Karma: 32600658
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by ElMiko View Post
The "Move Focus" shortcut is just as good! Thanks for pointing it out. It's been explained before that the windows like Spellcheck and Reports are treated a child windows (presumably of Code View) and therefore can't be focused out of any way other than via mouse. Is that structure a must-have for other functionality? Any chance of making it possible to focus out of those child windows without clicking or closing, too?
On Windows Alt+space,N will minimise those windows to the Desktop, on MacOS CMD+M should do something similar… not sure about Linux.

BR
BetterRed is online now   Reply With Quote
Old Today, 08:58 AM   #26
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 9,460
Karma: 6734148
Join Date: Nov 2009
Device: many
Actually, Macs will not do that, nor will some Linux. As for moving focus out of the Reports or Spellcheck by keyboard, I will look into that but right now you must use Tab to move focus to close out of Reports or Spellcheck.

Last edited by KevinH; Today at 09:48 AM.
KevinH is online now   Reply With Quote
Old Today, 03:39 PM   #27
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 22,520
Karma: 32600658
Join Date: Mar 2012
Location: Sydney Australia
Device: none
On Windows, Tab in modeless child windows cycles around the elements within those windows. Here is the route Tab takes in Reports:

Click image for larger version

Name:	Sigil - Reports - Tab route.jpg
Views:	3
Size:	262.3 KB
ID:	222054

Spellcheck is similar, although a bit more more circuitous.

The main window is sort of similar, but harder to track because of its dockable elements - IIRC that is why the Focus on. . . items in the View menu were implemented.

Click image for larger version

Name:	Sigil - View - Focus on.jpg
Views:	3
Size:	41.0 KB
ID:	222055

And this is what you see if you press Alt+space on those windows

Click image for larger version

Name:	Sigil - Spellcheck - Alt+space.jpg
Views:	2
Size:	93.7 KB
ID:	222056

BR

Last edited by BetterRed; Today at 03:48 PM.
BetterRed is online now   Reply With Quote
Old Today, 04:30 PM   #28
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 9,460
Karma: 6734148
Join Date: Nov 2009
Device: many
@BetterRed and Others,

What are you thoughts on the following for dealing with the issue that the only way to change the reading order is via drag and drop and there is no real undo for that. Especially since it involves a mouse.

To add a second (non-drag and drop) way to handle it, I have added a new BookBrowser menu item for the popup for the Text folder called "Change Reading Order ...".

When it is selected the following new dialog (EditRO) is opened (see attached screenshot).

Users can use tab to cycle from the List to the buttons and back. Up and down arrow keys when inside the List can be used to change your selection.

The Up Arrow and Down Arrow buttons allows the user to move items in the list, as does the To First button and To Last button.

The entire re-ordering can be easily cancelled or aborted. If accepted, the full new order is updated in BookBrowser and in the epub.

But since Tabbing around is a bit slow, I thought about assigning key equivalents for the buttons to make things even easier. Simple keys like f for first, l for last, u for up and d for down.

Any thoughts?

Would this help?
Attached Thumbnails
Click image for larger version

Name:	Screenshot_20260325_161910.png
Views:	8
Size:	86.3 KB
ID:	222057  

Last edited by KevinH; Today at 04:32 PM.
KevinH is online now   Reply With Quote
Old Today, 06:43 PM   #29
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 22,520
Karma: 32600658
Join Date: Mar 2012
Location: Sydney Australia
Device: none
IMO Accelerators on the buttons would be best, discoverable and translatable, and list would retain focus.

First
Up
Down
Last

BR
BetterRed is online now   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Suggestions for Sigil Improvements or New Features KevinH Sigil 241 03-02-2026 01:09 PM
Suggestions for Sigil Improvements or New Features KevinH Sigil 168 11-18-2025 12:23 PM
Ideas for New Improvements or Features KevinH Sigil 97 04-09-2025 09:45 AM
What Features or Tools does Sigil Still Need Yet? KevinH Sigil 175 03-06-2021 09:11 PM
Improvements/bugs/features dontcrash KOReader 10 10-23-2019 10:05 AM


All times are GMT -4. The time now is 06:46 PM.


MobileRead.com is a privately owned, operated and funded community.