Search found 7 matches

by zak
2016-11-24T20:34:10-07:00
Forum: Users
Topic: png -sample changes png format
Replies: 13
Views: 11626

Re: png -sample changes png format

Thank You it works!

I can loose the "-channel rgba -alpha on" also (png32=rgba8888) , right? I mean whatever my input format is, if there is transparency then it will be retained without those swiches?
by zak
2016-11-24T18:12:47-07:00
Forum: Users
Topic: png -sample changes png format
Replies: 13
Views: 11626

Re: png -sample changes png format

For this:

Code: Select all

magick convert %filename% -channel rgba -alpha on -sample %%ax%%a  -define png32:out\%filename%-%%a.png 
I get this:

Code: Select all

convert:  `png32:out\p.png-20.png' @ error/convert.c/ConvertImageCommand/3250.
by zak
2016-11-24T16:27:32-07:00
Forum: Users
Topic: png -sample changes png format
Replies: 13
Views: 11626

Re: png -sample changes png format

I'm on 7.0.3-7 Q16 x64 2016-11-15 on win10 I have tried all possible combinations of the above mentioned parameters(in the whole topic), no luck. Also, if I do this: magick convert -size %%ax%%a -interpolate Nearest -filter point -background #55ffff -fill #ff55ff -gravity center -font Arial-Bold ...
by zak
2016-11-23T21:19:28-07:00
Forum: Users
Topic: png -sample changes png format
Replies: 13
Views: 11626

Re: png -sample changes png format

Thank You!
by zak
2016-11-23T19:48:56-07:00
Forum: Users
Topic: png -sample changes png format
Replies: 13
Views: 11626

Re: png -sample changes png format

I already tried it, and now again and the result is the same.
by zak
2016-11-23T19:22:28-07:00
Forum: Users
Topic: png -sample changes png format
Replies: 13
Views: 11626

Re: png -sample changes png format

I have tried all these before with no luck, png24: even tried png:32 and all of them with "-channel rgba -alpha on", still I get pngs with indexed colors.
by zak
2016-11-23T18:14:21-07:00
Forum: Users
Topic: png -sample changes png format
Replies: 13
Views: 11626

png -sample changes png format

I'm upscaling rgba pngs with sample, I save a 8bit/channel RGB png with transparent parts in photoshop(its rgba) and I run: for /f "tokens=*" %%a in (dimensions10.txt) do magick convert %filename% -sample %%ax%%a out\%filename%-%%a.png I have also tried this and all combinations of these 2: magick ...