Search found 11 matches

by robertraiz
2014-03-20T09:28:10-07:00
Forum: PerlMagick
Topic: Transpose command line into Perl Script
Replies: 1
Views: 10181

Re: Transpose command line into Perl Script

I think I managed with:

Code: Select all

$my_image->Quantize(colors=> 256);
$my_image->Set('png:format' => 'png8');
Would this be the correct way? If you guys now something faster, do say.

Thank you
by robertraiz
2014-03-20T07:06:41-07:00
Forum: PerlMagick
Topic: Transpose command line into Perl Script
Replies: 1
Views: 10181

Transpose command line into Perl Script

Hello, I could not figure out how to transpose this into Perl syntax. The idea is that I have PNG32 images and I would need to convert them with the following settings to png8: my_image.png -colors 256 PNG8:my_image.png - work great in command line with desired output I tried with $my_image->Set ...
by robertraiz
2014-03-14T07:08:32-07:00
Forum: PerlMagick
Topic: Is is possible to get jpeg2000 from ImageToBlob?
Replies: 5
Views: 15852

Re: Is is possible to get jpeg2000 from ImageToBlob?

Unfortunately I did not manage to install the support for it.

if I run indentify on my jp2 image, I get:

Code: Select all

test.jp2 PNG 300x300 3000x3000+600+900 8-bit sRGB 6.69KB 0.000u 0:00.000
I just ran

Code: Select all

convert test.png test.jp2
Is it possible the conversion is not ok?
by robertraiz
2014-03-14T05:55:15-07:00
Forum: PerlMagick
Topic: Is is possible to get jpeg2000 from ImageToBlob?
Replies: 5
Views: 15852

Re: Is is possible to get jpeg2000 from ImageToBlob?

Hello,

I think you have solved my issue. I do not have the format listed.
I will try to install the support.

The thing is, that equery u shows that the support for jpeg 2000 is active. (through DCM* maybe )
by robertraiz
2014-03-14T02:26:46-07:00
Forum: PerlMagick
Topic: Is is possible to get jpeg2000 from ImageToBlob?
Replies: 5
Views: 15852

Re: Is is possible to get jpeg2000 from ImageToBlob?

Hello,
I am still trying to use:

Code: Select all

 ImageToBlob(magick=>'jp2')
but with no luck.

I have a png file and I want to obtain the jpeg 2000 format from the script.
The error is an empty file."

Can someone please tell me how is the correct syntax that should be used?
by robertraiz
2014-02-11T03:25:39-07:00
Forum: PerlMagick
Topic: Is is possible to get jpeg2000 from ImageToBlob?
Replies: 5
Views: 15852

Re: Is is possible to get jpeg2000 from ImageToBlob?

If this is not possible I would also need some insight in how to make my png8 files smaller...maybe? The only attribute that I am sending to ImageToBlob is magick -> png and quality-> 90
I am not sure if I could use some compression or something similar.

I appreciate any advice.
by robertraiz
2014-02-10T10:39:51-07:00
Forum: PerlMagick
Topic: Is is possible to get jpeg2000 from ImageToBlob?
Replies: 5
Views: 15852

Is is possible to get jpeg2000 from ImageToBlob?

Hello all, I have a script which takes png8/32 files and crops them to a fixed width and height and then uses ImageToBlob. The problem is that I would need to get and end result with a jp2 file as I get a smaller size of the same file. Is it possbile to use ImageToBlob(magick=>'jp2')? I tried but ...
by robertraiz
2014-02-06T11:26:25-07:00
Forum: Developers
Topic: JPEG XR support question
Replies: 10
Views: 25216

Re: JPEG XR support question

I too think this would be a great addition. Especially if it will be widely supported by web browsers.
by robertraiz
2014-02-05T03:25:52-07:00
Forum: Users
Topic: Convert PNG32 to Jpeg2000,reduce size and keep transparency?
Replies: 7
Views: 13003

Re: Convert PNG32 to Jpeg2000,reduce size and keep transpare

Hello, Yes, jp2000 supports transparency. I managed to fix it by running the same command as in the first post, but on version 6.7.8-8 2013-03-18 Q16 (on a virtual machine) For this version, when I run convert -version I have listed only these (no delegates) "6.7.8-8 2013-03-18 Q16" "Features ...
by robertraiz
2014-02-04T06:21:47-07:00
Forum: Users
Topic: Convert PNG32 to Jpeg2000,reduce size and keep transparency?
Replies: 7
Views: 13003

Re: Convert PNG32 to Jpeg2000,reduce size and keep transpare

Hello,

I am using imagemagick-6.8.5.4 on Unix; if I use your example I just have a black box.

Do you have the jasper delegate library installed?

Check your delegates via

convert -version

does it list jp2 or jp2000
by robertraiz
2014-02-04T01:56:56-07:00
Forum: Users
Topic: Convert PNG32 to Jpeg2000,reduce size and keep transparency?
Replies: 7
Views: 13003

Convert PNG32 to Jpeg2000,reduce size and keep transparency?

Hello all, I would need some assistance in making this happen. I have some png32 tiles with dimensions ~270 KiB and I managed to reduce the size and keep the quality like this: convert my_file.png -define jp2:rate=0.3 -define compression=JPEG2000 my_file.jp2 It all worked well until I saw that it ...