stuff...

  • Increase font size
  • Default font size
  • Decrease font size
Home Software Linux Adding functionality to GQview

Adding functionality to GQview

E-mail Print PDF
User Rating: / 1
PoorBest 

I feel good using gqview. I like its simplicity and the smoothness it have. Also, you can add some macro functions to expand program's functionality.

I used to resize pictures by opening the gimp when seeing them through gqview. If you have only one or two pictures maybe you could live with that. But, if you need to resize maybe 10 or more, you could just add a macro to gqview to do it almost automatically.

For this macro I based my idea on the 'convert' program that imagemagick package has.

This is the macro itself (for 50%):

test -d Resize || mkdir Resize && convert %p -resize 50% %p_small_50.jpg


Open up gqview and go to Edit -> Preferences.

Then in the Editors tab you need to set the name (left) for the contextual menu, and the macro (right) listed above. You'll only need imagemagick package for my macro.

And that's it. Just use it like this:

This will create a directory on the working directory, and then move the resized images there.

Known issues: Resize will not be able to perfom if you don't have write permissions on current directory





Free web hostingWeb hosting
Last Updated on Monday, 25 January 2010 01:29  

Add comment

Be polite.


Security code
Refresh


polls