Geoserver ExternalGraphic draw icon incorrect - geoserver

I run into a problem with Geoserver.
I'm drawing multiple icons which each represent a place all over my map using ExternalGraphic.
But geoserver didn't draw them correctly as they are. I attach an image as the result of geoserver drawing:
As you can see, the 2 car icon, both got cut off around 1 pixel comapre to its original size (1 got cut off from top down while another from bottom up). It make same icon look differentfrom place to place. And i think because of this cutting, after lose some pixel, they resize the image back to its original size, which make the $ on top left look blurry compare to the one next to it.
Also as in External graphic document mention, i didn't use any Size attribute so they won't get resize or anything. So i'm not sure why the image got cut off like that.
Any1 can help me about this case ? Thank you in advance.

I suggest you open a report at http://jira.codehaus.org/browse/GEOS attaching one of the images and your style document.

Related

Best way to represent list with image(using url) in Xamarin.Forms?

I want to create List View. In this List View, I will have following fields.
StackPanel
1- Image with 300 x 400 size
2- Text-Label Controls
1 Screen will hardly cover 1 and Half ViewCell.
Images will have ImageURL. I want to load image smoothly. I also want to make smooth scroll up/down with image appearing.
Can anybody please suggest me which control I should use?
If List View, which CacheStrategy I should use?
Note: For one of such functionality, I had used List View with default CacheStrategy. In that, I just faced 1 major problem of image appearing. When page initialize first time, it show image properly. But as soon as I scroll down or scroll up, image disappear or misplace. In that case, I had suffered a lot and removed image finally.
Please suggest appropriate way for above functionality.
Thank you.
For the listview, you should definitely use RecycleElement as the CachingStrategy. See here https://developer.xamarin.com/api/type/Xamarin.Forms.ListViewCachingStrategy/#Remarks
And because the images are URLs, you can use FFImageLoading. It will fade-in the image after it is downloaded (as opposed to appearing instantly after downloaded), and you can even specify a placeholder image to use while the image is being downloaded.

Logo looks different after uploading

Hi, in the first picture you can see what logo I want to upload.
But, after uploading it changes it's color specification a little bit, shown in the second picture (right down corner). It adds the black color.
Could you please help me out?
The code I'm using:
axes(handles.axes13)
imshow('logo4.png')
The problem is in the original png. Here, the top of the logo is set as transparent while the bottom is white. So, when you plot the images using imshow, you have this effect. Either you change the logo png or you can pretend as this problem never existed by setting the background color as white when you load the image.
logo4 = imread('logo4.png,'BackgroundColor',[1 1 1]);
imshow(logo4)
The problem is still there, it´s just someone else´s problem now.
profit.

Powerpoint change picture without changing cropping area

I´ve a cropped picture in a powerpoint layer and I want to change the picture without changing the size of the cropping area.
If I change the image by clicking "change picture" the cropping area resizes too, to show the whole picture.
How can I do that without changing the cropping area?
In Apple Keynote you only have to drag the picture you want to the cropping area and you only have to align it.
From my experience, I'm afraid you have to set the crop manually by "Format Picture" -"Crop" to remain the same cropping area when you replace a picture.
This isn't much help, but Libreoffice will do this. Crop, resize, then select your image and re-insert a new image - formatting will be the same, perfect for when you want to quickly redo formatting for same sized images.
In my experience, a picture that you insert to replace an existing one, using Change Picture, will "inherit" the crop&size settings of the old picture IF the old&new images are actually of the same size (in pixels) - if not, the new one will revert to the default crop&size so you will have to redo these manually.
This changes if the image to-be-replaced has any crop setting applied to it in Powerpoint. In this case, the replacing image will not inherit those, and might also be inserted with a different size&position, leading most likely to an unwanted result & further work needed.
A workaround I found is to first remove the crop setting from the old picture, replace with new image, then reapply the crop. This is still less work than having to manually redo the size&position (or to define these based on numbers copied from the PropertiesPane of the old image).
Quick work around: if you plan to have multiple same size images and you wish to use change image to swap the content on each page (something we do with floor plans all the time); don't bother cropping them.
Put the whole image in and crop it by sticking shapes on top of it, which are the same color as the presentation background color, like a mask.
optionally crop the images only when the whole presentation is finished.

Interface Builder - Tricky Autolayout Situation

Here's my current layout:
The layout above works fine pre iphone6 but once the view is set to iphone6+ then you get:
FYI Those images look like the same size because of how they are displayed in sof. Click the image itself and you'll the actual size/scale of the image.
I get why that this is happening because my text areas are staying in the same place on the image while the image has actually changed in size (respecting aspect ratio). So my question is, how do I get these text fields to move in respect to the image behind it getting larger while still keeping their relative position & size against the image?
Try removing the vertical text Days, Hrs, and Mins the image and use that as the background image.
Then make 3 separate images one for each Days, Hrs, and Mins.
From there use auto layout to do the following:
[Days image][00] [Hrs image][01] [Mins image][02]

Exported shapes as image with vba in powerpoint with a white space in the button and top

I want to export certain shapes in powerpoint as images. For that I am using the following code:
ActivePresentation.Slides(1).Shapes(3).Export "C:\dink_template\created_files\testimg.jpg", ppShapeFormatJPG
I also tried with other image formats:
ActivePresentation.Slides(1).Shapes(3).Export "C:\dink_template\created_files\testimg.png", ppShapeFormatPNG
and I get this image:
Here you cannot notice because the white peace that appears in the image button (and also a bit in the top) is mixing with the page but if you make inspect element on the photo you will see it.
As you can see in this other image in powerpoint the shape fix perfectly and it is not bigger that the image:
Why is appearing this white peace in the top and in the button? How can I export the image without them?
EDIT
I know when it is happening. Because I try with other ones and sometimes they where not appearing and sometime it was. The problem is that when the text you write in the shape is so close to the border and you export it as image it export with this white space. Now the question is... how can I solve this?
One option would be to adjust the size of your shape and/or the size of the text accordingly to the total text length, before exporting it as an image, in order to make sure that your text will never be too close to the border...
Something else: have you checked the margins properties of your shape? Putting them to 0 might help a bit.

Resources