ok now it works.
thankyou all
Search found 15 matches
- 2019-04-30T06:11:22-07:00
- Forum: Developers
- Topic: Resolution Unit
- Replies: 17
- Views: 44024
- 2019-04-30T05:33:02-07:00
- Forum: Developers
- Topic: Resolution Unit
- Replies: 17
- Views: 44024
Re: Resolution Unit
well, my first code was:
with first row uncommented.
now i retry, maybe there was something else wrong.
or maybe the conversion has to be done in another way??
Code: Select all
//image.AddProfile(ColorProfile.SRGB);
image.AddProfile(ColorProfile.USWebCoatedSWOP);
now i retry, maybe there was something else wrong.
or maybe the conversion has to be done in another way??
- 2019-04-30T04:42:10-07:00
- Forum: Developers
- Topic: Resolution Unit
- Replies: 17
- Views: 44024
Re: Resolution Unit
hi,
here is the result
Image: x.jpg
Format: JPEG (Joint Photographic Experts Group JFIF format)
Mime type: image/jpeg
Class: DirectClass
Geometry: 590x1712+0+0
Resolution: 150x150
Print size: 3.93333x11.4133
Units: PixelsPerInch
Colorspace: sRGB
Type: TrueColor
Base type: Undefined ...
here is the result
Image: x.jpg
Format: JPEG (Joint Photographic Experts Group JFIF format)
Mime type: image/jpeg
Class: DirectClass
Geometry: 590x1712+0+0
Resolution: 150x150
Print size: 3.93333x11.4133
Units: PixelsPerInch
Colorspace: sRGB
Type: TrueColor
Base type: Undefined ...
- 2019-04-30T03:24:40-07:00
- Forum: Developers
- Topic: Resolution Unit
- Replies: 17
- Views: 44024
Re: Resolution Unit
yes, is converted to rgb.
how to attach an embedded profile?
in another discussion i see that
Notice in the linked example they're converting from a standard CMYK, which means you don't need to load a custom icc profile - the standard CMYK is already in Magick.net, as ColorProfile.USWebCoatedSWOP ...
how to attach an embedded profile?
in another discussion i see that
Notice in the linked example they're converting from a standard CMYK, which means you don't need to load a custom icc profile - the standard CMYK is already in Magick.net, as ColorProfile.USWebCoatedSWOP ...
- 2019-04-30T02:40:47-07:00
- Forum: Developers
- Topic: Resolution Unit
- Replies: 17
- Views: 44024
Re: Resolution Unit
it give error in opening embedded icc profile .angi_sfj wrote: 2019-04-29T23:32:05-07:00 another question..
opening it with photoshop color profile results RGB, whili with exiftool seems to bo CMYK .
any ideas?
thankyou
- 2019-04-29T23:32:05-07:00
- Forum: Developers
- Topic: Resolution Unit
- Replies: 17
- Views: 44024
Re: Resolution Unit
another question..
opening it with photoshop color profile results RGB, whili with exiftool seems to bo CMYK .
any ideas?
thankyou
opening it with photoshop color profile results RGB, whili with exiftool seems to bo CMYK .
any ideas?
thankyou
- 2019-04-29T12:18:21-07:00
- Forum: Developers
- Topic: Resolution Unit
- Replies: 17
- Views: 44024
Re: Resolution Unit
Y Rock!dlemstra wrote: 2019-04-29T12:11:25-07:00 You should set `image.Density` instead of `image.Settings.Density` to change the density of an image.
many thanks
it work as expected
bye
- 2019-04-29T12:06:13-07:00
- Forum: Developers
- Topic: Resolution Unit
- Replies: 17
- Views: 44024
Re: Resolution Unit
and for .NET api?
- 2019-04-28T14:23:44-07:00
- Forum: Developers
- Topic: density unit output
- Replies: 7
- Views: 17458
Re: density unit output
you're right, i make a shortcut in description.
My original image is jpg.
in my program to elaborate it I create a bitmap .net object.
if i save it with .net framework methods i get resolution in ppi
if i save it with imagemagick i get resolution in ppcm.
is it possibile to have an output jpg ...
My original image is jpg.
in my program to elaborate it I create a bitmap .net object.
if i save it with .net framework methods i get resolution in ppi
if i save it with imagemagick i get resolution in ppcm.
is it possibile to have an output jpg ...
- 2019-04-28T14:19:36-07:00
- Forum: Developers
- Topic: Resolution Unit
- Replies: 17
- Views: 44024
Re: Resolution Unit
thanks for reply,
my output is in jpg but i get a pixel for centimeter resolution.
here is my code, what's wrong?
using (MagickImage image = new MagickImage(bmp))
{
image.Settings.Density = new Density(nBmpPrm.dpi, nBmpPrm.dpi, DensityUnit.PixelsPerInch);
image.AddProfile(ColorProfile ...
my output is in jpg but i get a pixel for centimeter resolution.
here is my code, what's wrong?
using (MagickImage image = new MagickImage(bmp))
{
image.Settings.Density = new Density(nBmpPrm.dpi, nBmpPrm.dpi, DensityUnit.PixelsPerInch);
image.AddProfile(ColorProfile ...
- 2019-04-24T07:09:21-07:00
- Forum: Developers
- Topic: Resolution Unit
- Replies: 17
- Views: 44024
Resolution Unit
Hi all,
is it possible to get an output file with resolution unit in inch?
'cause if i set
DensityUnit.PixelsPerInch
looking with exiftool results in a Resolution Unit : cm.
I know the size is the same, but i need that reading metadata it says inch. Is it possibile to make it sign as Resolution ...
is it possible to get an output file with resolution unit in inch?
'cause if i set
DensityUnit.PixelsPerInch
looking with exiftool results in a Resolution Unit : cm.
I know the size is the same, but i need that reading metadata it says inch. Is it possibile to make it sign as Resolution ...
- 2019-04-18T08:57:40-07:00
- Forum: Developers
- Topic: density unit output
- Replies: 7
- Views: 17458
Re: density unit output
grat thank you.
for color space it's ok.
but still here the file worked with results in a Resolution Unit : cm.
is it possibile to make it sign as Resolution Unit : inches as the original image is?
thankyou
for color space it's ok.
but still here the file worked with
Code: Select all
DensityUnit.PixelsPerInch
is it possibile to make it sign as Resolution Unit : inches as the original image is?
thankyou
- 2019-04-18T07:48:25-07:00
- Forum: Developers
- Topic: density unit output
- Replies: 7
- Views: 17458
Re: density unit output
thanks for your reply.
color space results sRGB, not cmyk
and i'd archive resolution units pixels/mm, as if i open other random image that says 150 × 150 ppi.
color space results sRGB, not cmyk
and i'd archive resolution units pixels/mm, as if i open other random image that says 150 × 150 ppi.
- 2019-04-18T03:11:39-07:00
- Forum: Developers
- Topic: density unit output
- Replies: 7
- Views: 17458
Re: density unit output
the same if i remove
image.AddProfile(ColorProfile.SRGB);
image.AddProfile(ColorProfile.SRGB);
- 2019-04-18T03:11:10-07:00
- Forum: Developers
- Topic: density unit output
- Replies: 7
- Views: 17458
density unit output
hi, i'm try to archive converting a bitmap to jpg cmyk ppi.
i set
using (MagickImage image = new MagickImage(bmp))
{
image.ColorAlpha(new MagickColor("#FFF")); // You only need this when your image contains transparency.
image.Settings.Density = new Density(nBmpPrm.dpi, nBmpPrm.dpi ...
i set
using (MagickImage image = new MagickImage(bmp))
{
image.ColorAlpha(new MagickColor("#FFF")); // You only need this when your image contains transparency.
image.Settings.Density = new Density(nBmpPrm.dpi, nBmpPrm.dpi ...