-
image/x-bmp is only available with JAI,
but image/bmp is available without JAI.
Maybe it would be better to provide image/bmp by default.
They seems to be the same, but i dont know if it exists real differences.
have found this sources:
http://filext.com/file-extension/BMP
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5080883
http://msdn.microsoft.com/en-us/library/ms775147(VS.85).aspx...
2009-11-04 09:58:29 UTC by nobody
-
That's it, just a convenience.
I want to pass the fileExtension in parameter, and retrieve the mime type.
String mimeType = MimeTypes.expandFormat(fileExtensionFormat)
2009-11-04 08:36:16 UTC by nobody
-
But you realize that you can just specify "image/x-bmp" and you'll get a Windows BMP file? A mapping from "bmp" to "image/x-bmp" in MimeTypes would only be a convenience, not a blocker for generating BMP images. Or did I somehow misunderstand your feature request?.
2009-11-03 20:08:32 UTC by jmaerki
-
Hi
First read:
http://barcode4j.sourceforge.net/2.0/output-formats.html
BitmapEncoderRegistry.getSupportedMIMETypes() gives me this list:
image/x-png
(image/png)
image/jpeg
image/vnd.wap.wbmp
image/bmp
...and with the optional add of JAI:
image/x-portable-graymap
image/x-bmp
image/x-portable-pixmap
image/x-portable-anymap
image/jpeg2000
image/jp2
image/tiff...
2009-11-03 18:02:09 UTC by nobody
-
Steps to reproduce:
".,!!abc" is encoded as ".,!!'ü;"
Resolution:
In PDF417HighLevelEncoder, method encodeText, change control character for switch from SUBMODE_PUNCTUATION to SUBMODE_ALPHA from 28 to 29.
2009-09-24 15:00:59 UTC by nobody
-
What barcode are you trying to produce? I need a little more information to reproduce the problem. I'm not particularly looking forward to trying out a dozen cases until I hit the problem. Thanks.
2009-09-12 07:01:45 UTC by jmaerki
-
The generateBarcode(BitmapCanvasProvider, String) method throws a StringIndexOutOfBoundsException when the message passed in ends in a new line character, "\n". My example String is 131 characters long and ends with "0802\n", and the exception message is
java.lang.StringIndexOutOfBoundsException: String index out of range: 131
It looks to be an easily-fixed off by one error! Thanks!
2009-09-12 02:59:24 UTC by nobody
-
Barcode4J doesn't allow that because many symbologies have narrow margins of valid module widths. Specifying the size of the end result will too easily lead to unreadable symbols. Granted, PDF 417 is not too susceptible to this, but it was a design decision not to allow this.
As you've already noticed setModuleWidth doesn't set the width of the symbol but only the width of the narrow bars...
2009-08-17 07:21:42 UTC by jmaerki
-
Hello,
i have generated a BarCode using PDF417Bean. As per requirement The resulting barcode should be approximately 55mm x 12mm So i use a method setHeight(55) and setModuleWidth(12) for same However i has generated very large image that is more then 55mm x 12mm.
So Please tell me the solution for the same and which method should use ?.
2009-08-17 07:05:02 UTC by nobody
-
We need QR code too. It is very popular. It would be great if it can be supported.
2009-07-18 08:18:51 UTC by javaone9