Icon Size

Asked by hyako

Hi the program is very good but I wonder if the ability to create images larger than 128px? In Jaunty Jacklope only images of no more 128px are created ...

Question information

Language:
English Edit question
Status:
Solved
For:
Avatar Factory Edit question
Assignee:
No assignee Edit question
Solved by:
hyako
Solved:
Last query:
Last reply:

This question was reopened

Revision history for this message
Yuzem (yuzem) said :
#1

For that you must use the shadow-hq theme, it is 256px large.

Revision history for this message
hyako (edicgarcia) said :
#2

Yuzem, where i can find this shadow-hq?

Revision history for this message
Yuzem (yuzem) said :
#3

It comes with avatar-factory. To see the availble themes type:
avatar-factory -lt
You can set the theme from the gui.

Revision history for this message
hyako (edicgarcia) said :
#4

Yuzem, continues to generate size of 128px, look at the command I'm using:

"avatar-factory -g music -t shadow-hq"

And below is my music set:

theme_name = cd
Link_or_Application = Link
launcher = "Rhythmbox"
set_name = 2
folders = 1
delete =
icon_size = 99
SOURCE_input = "/ home / eduardo / Music / Worship, beloved / to the ends of the Earth"
SOURCE_input [1] = "/ home / eduardo / Music / Worship and worship"
music_widget = no

I've got this image:

http://www.hyako.com/pessoal/cover.png

Revision history for this message
Yuzem (yuzem) said :
#5

I think that if you don't set a source and a destination in the command line then the config is used.
Try this:
avatar-factory -g music -t shadow-hq "/home/eduardo/Music/Worship, beloved/to the ends of the Earth" "/ home/eduardo/Music/ Worship and worship"
Check that the paths are correct.
You could also set the theme in the config and type:
avatar-factory -g music

I know that this is not the expected behavior, options set on the command line should overwrite the config...

Revision history for this message
hyako (edicgarcia) said :
#6

Yuzem Sorry, but I think you do not understand what I right. Actually I want to know if it is possible that the images that are created with 128px can be created with 256px, 512px?

Revision history for this message
Yuzem (yuzem) said :
#7

It isn't possible, the themes have a fixed size, all themes are 128px excepting shadow-hq.

Revision history for this message
hyako (edicgarcia) said :
#8

I understand, but when I used the shadow-hq continued with 128px been putting 99 or even more.

Revision history for this message
Yuzem (yuzem) said :
#9

Did you delete the previous created avatars?
You can check the size this way:
Drag and drop an avatar to a text editor like gedit. You will see that there is a line that starts with 'Icon='
That is the path to the icon without the 'Icon=' part.
You can also go to the theme folder, type:
nautilus ~/.avatar-factory/icons/music/shadow-hq

And where are you putting 99?
Oh... wait. That option doesn't affect the real icon size. That is to change the size of the icons in nautilus, but it is only the display size it doesn't improve the quality and it only work for nautilus.

You are right if you think that it is confusing but I'm using zenity for the gui, it is very limited.

Revision history for this message
hyako (edicgarcia) said :
#10

Yuzem, this time I delete the icon but still coming (. Png) to 128px, just dropping leaves to the next.

Really confusing is the graphical interface, but his work remains very good ta so gonna be excellent!

Until next time!

Revision history for this message
hyako (edicgarcia) said :
#11

Thanks Anyway.

Revision history for this message
Yuzem (yuzem) said :
#12

If the icons in ~/.avatar-factory/icons/music/shadow-hq are 128px then there is something wrong.
You can run the theme by it self to test it with:
export theme_name=shadow-hq
/usr/local/share/avatar-factory/themes/shadow-hq destination.png source.jpg

Replace destination and source.

Revision history for this message
hyako (edicgarcia) said :
#13

Yuzem I do not know how to use this command that does not make a tutorial for me to learn. Nor is the hint in the next version could give you the option to make all of the icon in 128px (default, 0), 256px (1), 512px (2) that would be ideal because besides use for the folder could use in other seats because it would have a better resolution!

Revision history for this message
Yuzem (yuzem) said :
#14

Ok, you want to use the icons for a different purpose. The icon size option does not affect the icon resolution an almost all themes are 128px, they have a fixed size because the source images that are used to build them have a fixed size.
You can take a look to this folder (all themes are there):
/usr/local/share/avatar-factory/themes

The shadow-hq should produce 256px icons in:
~/.avatar-factory/icons/music/shadow-hq
Icons there must be 256px large.
You can easily edit that theme to produce larger icons. To do that open a terminal and type:
sudo gedit /usr/local/share/avatar-factory/themes/shadow-hq
Now you must change the value '244x244' with the desired size and save it, that's all.
Note that the resulting icon will be 12 pixels larger than the specified size (because of the shadows)

I hope this is more clear, my english isn't very good.

Revision history for this message
hyako (edicgarcia) said :
#15

Ok Yuzem, i'm try to use this beatiful icons for another purposes.
I don't speak english very well too, i am from Brazil.

Thanks anyway!