Setting the svg image from a file contents but the image is in black color - objective-c

I have an issue in setting a SVG image.
I have converted the SVG image by using Inkscape its been converted clearly. But when i am setting the SVG to an JAMSVGImageView the image gets black in color i have used NSUTF8StringEncoding while creating NSData of SVG file.
Please can anyone guide me through this.
Thank you.

Related

how to convert photoshop animated image to html

I have a PhotoShop image with a few layers. The image is animated. I was wondering if there is a way to convert or export it into html and keep the animation. I have the latest version of Photoshop

Why the size of file with cropped image is the same as of initial one?

I have scanned my copybook and want to crop out extra white regions with Inkscape.
To achieve this, I import initial image (PDF) to Inkscape, draw appropriate rectangle, and use Object->Clip->Set to cut out needed region. Then I resize page to drawing and save obtained page as new PDF file through File->Save a Copy.
I expected that the size of the new PDF file (with cropped image) will be less than the size of the initial PDF (with image without crop), but they are the same.
What is the reason of this and may it be worked around?
I use Inkscape 0.91 at Linux Mint 18.2.
Thank you in advance.
Because the original image is still there, fully intact and with all its contents. The cropping rectangle are just instructions to the PDF viewer to crop out those regions when rendering the image.
However in Inkscape you can bake the crop rectangles and when exporting to PDF "apply raster effects" which should actually alter the contained image(s).

PNG image format is showing small in PDF output

I am transforming to PDF output using a ditamap file . I am trying to insert a png icon instead of gif in Note icon. After the transformation the result is small in png . It is working fine in svg and gif icons. I am using DITA-OT for the transformation.
Suggest me the solution of this .
There is a small png icon beside Text Note.My png icon is normal ie 24x24 px.

VB.net CMYK Image saving

I have an issue where i have 4 RGB Bitmaps.
Each bitmap contains an image of a single colour
for example
image 1 = Cyan image
image 2 = Magenta image
image 3 - Yellow image
image 4 = black image
I need to find a way to combine the colour data from each image and save as a CMYK formatted file, preferably TIF.
The idea i have had is to create a tiff file at runtime using the CMYK data obtainable from the above images, but the image structure is escaping me.
Any suggestions?
If you can install ImageMagick, it is easy:
convert cyan.bmp magenta.bmp yellow.bmp black.bmp -set colorspace CMYK -combine combined.tif
You can either shell out (using system() and the above command), or link with any of the ImageMagick bindings which include Perl, C/C++, python, php, .Net etc.
It is available, for free, here.

Getting the cropping and rotation information of an image in a PDF

I have a PDF with a page with an image. I'm using a command line tool to extract this image. The page in the PDF shows only a part of the image, because the extracted image as a lot more "contents" and they are slightly rotated. This happens, I assume, because some sort of cropping and/or rotation was applied to the image when the PDF was built.
Is there anyway, using iText, to figure out the offset and rotation applied to the image? That would allow me to crop the extracted image in the same way and end up with something similar to what's visible on the PDF page.