What I don't understand is the size of the output files (I mentioned them at the end of the lines). its quite weird.fmw42 wrote:Not sure what your question is at this time? Does it help or not? Is there still an issue?
Search found 13 matches
- 2011-12-09T11:27:06-07:00
- Forum: Users
- Topic: Optimising BMP size
- Replies: 12
- Views: 29393
Re: Optimising BMP size
- 2011-12-08T12:36:12-07:00
- Forum: Users
- Topic: Optimising BMP size
- Replies: 12
- Views: 29393
Re: Optimising BMP size
I thought BMP2/3 was some kind a weird format, but it seems it's just "usual" BMP :).
I'll try it then...
Ok, this is what I get:
convert A.png -trim -compress RLE -depth 4 BMP3:A.bmp ==> 159Ko
convert A.png -trim -compress RLE -resize 25% -depth 4 BMP3:A2.bmp ==> 561Ko
(-verbose for both of them ...
I'll try it then...
Ok, this is what I get:
convert A.png -trim -compress RLE -depth 4 BMP3:A.bmp ==> 159Ko
convert A.png -trim -compress RLE -resize 25% -depth 4 BMP3:A2.bmp ==> 561Ko
(-verbose for both of them ...
- 2011-12-07T10:47:34-07:00
- Forum: Users
- Topic: Optimising BMP size
- Replies: 12
- Views: 29393
Re: Optimising BMP size
AhImageMagick supports 8, 24, and 32-bit BMP images.
Anyway, Imagemagick will still be usefull for -trim
- 2011-12-07T09:13:47-07:00
- Forum: Users
- Topic: Optimising BMP size
- Replies: 12
- Views: 29393
Optimising BMP size
Hi,
I have a bunch on pdf files I converted in black and white (real black en white, not grey...) PNG files (one by page).
I want to put them on a device that can only read BMP files (so I want to convert from PNG to BMP). As this device only have small memory, I want to optimise the size of the ...
I have a bunch on pdf files I converted in black and white (real black en white, not grey...) PNG files (one by page).
I want to put them on a device that can only read BMP files (so I want to convert from PNG to BMP). As this device only have small memory, I want to optimise the size of the ...
- 2011-03-09T13:23:16-07:00
- Forum: IMagick
- Topic: Compressing a BMP file
- Replies: 0
- Views: 5979
Compressing a BMP file
Hi,
I'm using Imagick to convert a picture to BMP.
But then, I need to convert this BMP to a special BMP.
It would be a 16-bits, RLE-compressed BMP file.
Is there an easy way to do it?
Thanks!
I'm using Imagick to convert a picture to BMP.
But then, I need to convert this BMP to a special BMP.
It would be a 16-bits, RLE-compressed BMP file.
Is there an easy way to do it?
Thanks!
- 2011-01-16T03:19:13-07:00
- Forum: Users
- Topic: Openning a PDF file
- Replies: 9
- Views: 33063
Re: Openning a PDF file
I'm back. :D
It seems that Ghostscript just can't work on Slackware. But my hoster has just turned to Debian, wich has a Ghostscript package.
Now it workds fine in command line :D .
But with PHP, I still have an error:
Fatal error: Uncaught exception 'ImagickException' with message 'Postscript ...
It seems that Ghostscript just can't work on Slackware. But my hoster has just turned to Debian, wich has a Ghostscript package.
Now it workds fine in command line :D .
But with PHP, I still have an error:
Fatal error: Uncaught exception 'ImagickException' with message 'Postscript ...
- 2010-12-21T16:53:41-07:00
- Forum: Users
- Topic: Openning a PDF file
- Replies: 9
- Views: 33063
Re: Openning a PDF file
I have news, but I don't know if it is good or bad ones...
It is a long story, but just forget about the #, it was not there in real.
An other pdf file also bug.
And the chmod is 777.
------------------------
I installed ImageMagick et GhostScript on a Debian server (it is a personal server) and ...
It is a long story, but just forget about the #, it was not there in real.
An other pdf file also bug.
And the chmod is 777.
------------------------
I installed ImageMagick et GhostScript on a Debian server (it is a personal server) and ...
- 2010-12-19T13:49:03-07:00
- Forum: Users
- Topic: Openning a PDF file
- Replies: 9
- Views: 33063
Re: Openning a PDF file
I get the same error:
#wget http://ftp.free.fr/pub/assistance/reclamation-connexion.pdf
#mv reclamation-connexion.pdf test.pdf
#convert test.pdf test.jpeg
convert: Postscript delegate failed `test.pdf': @ error/pdf.c/ReadPDFImage/645.
convert: missing an image filename `test.jpeg' @ error/convert.c ...
#wget http://ftp.free.fr/pub/assistance/reclamation-connexion.pdf
#mv reclamation-connexion.pdf test.pdf
#convert test.pdf test.jpeg
convert: Postscript delegate failed `test.pdf': @ error/pdf.c/ReadPDFImage/645.
convert: missing an image filename `test.jpeg' @ error/convert.c ...
- 2010-12-19T12:46:49-07:00
- Forum: Users
- Topic: Openning a PDF file
- Replies: 9
- Views: 33063
Re: Openning a PDF file
Hi again, I still have the same problem.
My hoster turned to IM 6.6.6.5.
This is the line to compile:
./configure --prefix=/usr --with-gslib --with-gs-font-dir=/usr/share/fonts/Type1/ --libdir=/usr/lib64 --mandir=/usr/man --program-prefix= --with-x --with-frozenpaths=no --without-modules ...
My hoster turned to IM 6.6.6.5.
This is the line to compile:
./configure --prefix=/usr --with-gslib --with-gs-font-dir=/usr/share/fonts/Type1/ --libdir=/usr/lib64 --mandir=/usr/man --program-prefix= --with-x --with-frozenpaths=no --without-modules ...
- 2010-12-17T10:55:22-07:00
- Forum: Users
- Topic: Openning a PDF file
- Replies: 9
- Views: 33063
Re: Openning a PDF file
Thank you for your quick anwser, i'll see it with my hoster
.
- 2010-12-17T10:45:26-07:00
- Forum: Users
- Topic: Openning a PDF file
- Replies: 9
- Views: 33063
Openning a PDF file
Hi,
I am trying to use Imagemagick with Imagick on PHP. In general Imagick is working fine.
My hoster also installed Ghostscript, but I cannot find the word "ghostscript" in phpinfo.
When I want to open a pdf file, I have this error (I tried several pdf files):
Fatal error: Uncaught exception ...
I am trying to use Imagemagick with Imagick on PHP. In general Imagick is working fine.
My hoster also installed Ghostscript, but I cannot find the word "ghostscript" in phpinfo.
When I want to open a pdf file, I have this error (I tried several pdf files):
Fatal error: Uncaught exception ...
- 2010-12-08T13:28:46-07:00
- Forum: IMagick
- Topic: Transparency and PNG
- Replies: 1
- Views: 6848
Re: Transparency and PNG
Can someone help me please
?
- 2010-12-06T11:39:17-07:00
- Forum: IMagick
- Topic: Transparency and PNG
- Replies: 1
- Views: 6848
Transparency and PNG
Hi,
I'm trying to convert PNG and GIF files using Imagick.
Here is my code:
try {
$thumb4 = new Imagick($name . '.' . $extension_upload);
$thumb4->setImageOpacity(1.0);
$thumb4->resizeImage(318,212,Imagick::FILTER_LANCZOS,1);
$thumb4->writeImage($name . '.' . "bmp");
$thumb4->destroy();
} catch ...
I'm trying to convert PNG and GIF files using Imagick.
Here is my code:
try {
$thumb4 = new Imagick($name . '.' . $extension_upload);
$thumb4->setImageOpacity(1.0);
$thumb4->resizeImage(318,212,Imagick::FILTER_LANCZOS,1);
$thumb4->writeImage($name . '.' . "bmp");
$thumb4->destroy();
} catch ...