You are not logged in.
Pages: 1
Topic closed
hi to everybody,
i want to resize an .xbm image.
if i use imagemagick command (convert) i get a resized BUT aliased version
if i use gimp GUI i get a resized AND perfect version
now i want to create a script so:
do you know another program (alternative to imagemagick) ???
thank you
+pc: custom | AMD Opteron 175 | nForce4 Ultra | 2GB ram DDR400 | nVidia 9800GT 1GB | ArchLinux x86_64 w/ openbox
+laptop: Apple | MacBook (2,1) | 2GB ram | Mac OS X 10.4 -> DIED
+ultrabook: Dell | XPS 13 (9343) | 8GB ram | 256GB ssd | FullHD display | Windows 8.1 64bit ArchLinux x86_64 w/ Gnome
Offline
imagemagick's convert has an "-antialias" option.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
maybe I didn't explain well myself: yes, the result of resizing is in an aliased image but it's like if convert command couldn't handle bitmap images correctly....
or it's like if convert command, couldn't resize the original bitmap image but a jpg version of it....
i know i can't explain well the problem
http://img829.imageshack.us/img829/4840/untixtled.png
in this image i create an example:
-first is want i get with convert
-second with gimp
+pc: custom | AMD Opteron 175 | nForce4 Ultra | 2GB ram DDR400 | nVidia 9800GT 1GB | ArchLinux x86_64 w/ openbox
+laptop: Apple | MacBook (2,1) | 2GB ram | Mac OS X 10.4 -> DIED
+ultrabook: Dell | XPS 13 (9343) | 8GB ram | 256GB ssd | FullHD display | Windows 8.1 64bit ArchLinux x86_64 w/ Gnome
Offline
Are you actually just doubling the size? If so, a quick script, or about 10 lines of C would do the job.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
I need to resize a 6x6 to 10x10 image
+pc: custom | AMD Opteron 175 | nForce4 Ultra | 2GB ram DDR400 | nVidia 9800GT 1GB | ArchLinux x86_64 w/ openbox
+laptop: Apple | MacBook (2,1) | 2GB ram | Mac OS X 10.4 -> DIED
+ultrabook: Dell | XPS 13 (9343) | 8GB ram | 256GB ssd | FullHD display | Windows 8.1 64bit ArchLinux x86_64 w/ Gnome
Offline
upp
+pc: custom | AMD Opteron 175 | nForce4 Ultra | 2GB ram DDR400 | nVidia 9800GT 1GB | ArchLinux x86_64 w/ openbox
+laptop: Apple | MacBook (2,1) | 2GB ram | Mac OS X 10.4 -> DIED
+ultrabook: Dell | XPS 13 (9343) | 8GB ram | 256GB ssd | FullHD display | Windows 8.1 64bit ArchLinux x86_64 w/ Gnome
Offline
Might be a bit late, but if anyone's looking for an answer:
convert -size 32x32 -scale 32x32 $SOURCE $DEST
Don't use the -resize option, but set you're target -size and -scale to prevent aliasing.
Offline
Closing to avoid further necrobumping..
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
Pages: 1
Topic closed